1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

set top level folder to same as archname of tarball

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hone 2014-06-26 00:46:30 +00:00
parent 78c763a25c
commit 94a6e6f6e1

View file

@ -203,7 +203,9 @@ def package(rev, destdir)
tag ||= "r#{revision}"
end
unless v == $exported
if tag.empty?
if $archname
n = $archname
elsif tag.empty?
n = "ruby-#{version}"
else
n = "ruby-#{version}-#{tag}"