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}" tag ||= "r#{revision}"
end end
unless v == $exported unless v == $exported
if tag.empty? if $archname
n = $archname
elsif tag.empty?
n = "ruby-#{version}" n = "ruby-#{version}"
else else
n = "ruby-#{version}-#{tag}" n = "ruby-#{version}-#{tag}"