mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
f67c1b0a12
commit
a62d6e64bf
2 changed files with 5 additions and 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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue