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 | |
parent | f67c1b0a123489a1b62955514f8cd6d4c7a3efa0 (diff) | |
download | ruby-a62d6e64bf1da39f529396fd06a9dd1f1526c90f.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | tool/make-snapshot | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Aug 9 14:02:01 2013 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> + + * tool/make-snapshot: Fix order of priority for option parameter. + Fri Aug 9 12:06:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * file.c (rb_str_normalize_ospath): normalize to Normalization Form C 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" |