aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-14 06:46:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-14 06:46:53 +0000
commitb0e9b8d7d38c4026b516e1d0e4089406b83e6a1f (patch)
tree4f78b13248f164c68dca01c0c4733731768f949b /tool
parent8469a919b4524dd431e5b4932e4a4df2133349fb (diff)
downloadruby-b0e9b8d7d38c4026b516e1d0e4089406b83e6a1f.tar.gz
make-snapshot: fix VPATH regexp [ci skip]
* tool/make-snapshot (package): replace nmake style VPATH in common.mk by regexp same as one for uncommon.mk, not to replace too much, BEGIN and END in awk and ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 12751f63d0..73278a34bc 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)