summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authorhone <hone@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-26 00:46:30 +0000
committerhone <hone@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-26 00:46:30 +0000
commit94a6e6f6e1ab035207efb94b1f77341cd21ee4b3 (patch)
tree822c1f1f31dc95843b084a4bd8d96ed56c8d0dd3 /tool/make-snapshot
parent78c763a25c4bf5ddd1dcf5887ad9c94ba27575df (diff)
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
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index fbf96fc..9fb3842 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -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}"