summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index a005ebf297..29d9d5b0bd 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -369,7 +369,8 @@ _touch-unicode-files:
if File.exist?("gems/bundled_gems")
gems = Dir.glob("gems/*.gem")
gems -= File.readlines("gems/bundled_gems").map {|line|
- 'gems/'+line.split(' ').join('-')+'.gem'
+ n, v, _ = line.split(' ')
+ "gems/#{n}-#{v}.gem"
}
FileUtils.rm_f(gems)
else