diff options
Diffstat (limited to 'tool/make-snapshot')
-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 2c0db91cd4..117d62524c 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -244,7 +244,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" |