From a62d6e64bf1da39f529396fd06a9dd1f1526c90f Mon Sep 17 00:00:00 2001 From: hsbt Date: Fri, 9 Aug 2013 05:05:15 +0000 Subject: * 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 --- tool/make-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/make-snapshot') 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" -- cgit v1.2.3