summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtool/make-snapshot4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index fbf96fcbbf..9fb384205f 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}"