summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index eafd2a0cb6..eaf5ddd05f 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 = "#{destdir}/#{v||$archname}#{ext}"
+ file = File.join(destdir, "#{v||$archname}#{ext}")
print "creating #{mesg}... #{file}"
if system(*(cmd + [file, v]))
puts " done"