summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 12751f63d06..73278a34bcd 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -311,7 +311,7 @@ def package(vcs, rev, destdir, tmp = nil)
}
args = vars.dup
mk.gsub!(/@([A-Za-z_]\w*)@/) {args.delete($1); vars[$1] || ENV[$1]}
- mk << commonmk.gsub(/(?<!#)\{[^{}]*\}/, "")
+ mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "")
mk << <<-'APPEND'
prereq: clean-cache $(CLEAN_CACHE)