mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
bf4020a34e
commit
5de227d638
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue