summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-25 06:58:24 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-25 06:58:24 +0000
commit2bcdd83e3f712200aecba3daf375bac8f1b0d01d (patch)
tree27744d7b01505bf0630d963fc01be794e8ae54f8 /tool/make-snapshot
parent635d0822cdb3a9eb7612ea478601d17ebe76b74d (diff)
Fixed conflicted variables. v is already used another condition.
[Misc #14050][ruby-core:83553] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 29d9d5b0bd..9dae143a20 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -369,8 +369,8 @@ _touch-unicode-files:
if File.exist?("gems/bundled_gems")
gems = Dir.glob("gems/*.gem")
gems -= File.readlines("gems/bundled_gems").map {|line|
- n, v, _ = line.split(' ')
- "gems/#{n}-#{v}.gem"
+ name, version, _ = line.split(' ')
+ "gems/#{name}-#{version}.gem"
}
FileUtils.rm_f(gems)
else