mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
make-snapshot: File.join
* tool/make-snapshot (package): use File.join to get rid of continuous slashes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b3cd19971b
commit
cc9a5a4089
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue