1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
hsbt 2017-10-25 06:58:24 +00:00
parent 635d0822cd
commit 2bcdd83e3f

View file

@ -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