diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-09 05:05:15 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-09 05:05:15 +0000 |
commit | a62d6e64bf1da39f529396fd06a9dd1f1526c90f (patch) | |
tree | 54adc3438ae47c3eb7774994cb1e2402f1a91919 /tool | |
parent | f67c1b0a123489a1b62955514f8cd6d4c7a3efa0 (diff) |
* tool/make-snapshot: Fix order of priority for option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 81f4cb0658..962ac07d9d 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -251,7 +251,7 @@ def package(rev, destdir) ["gzip tarball", ".tar.gz", %w"tar czf"], ["zip archive", ".zip", %w"zip -qr"] ].collect do |mesg, ext, cmd| - file = File.join(destdir, "#{v||$archname}#{ext}") + file = File.join(destdir, "#{$archname||v}#{ext}") print "creating #{mesg}... #{file}" if system(*(cmd + [file, v])) puts " done" |