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:
parent
635d0822cd
commit
2bcdd83e3f
1 changed files with 2 additions and 2 deletions
|
@ -369,8 +369,8 @@ _touch-unicode-files:
|
||||||
if File.exist?("gems/bundled_gems")
|
if File.exist?("gems/bundled_gems")
|
||||||
gems = Dir.glob("gems/*.gem")
|
gems = Dir.glob("gems/*.gem")
|
||||||
gems -= File.readlines("gems/bundled_gems").map {|line|
|
gems -= File.readlines("gems/bundled_gems").map {|line|
|
||||||
n, v, _ = line.split(' ')
|
name, version, _ = line.split(' ')
|
||||||
"gems/#{n}-#{v}.gem"
|
"gems/#{name}-#{version}.gem"
|
||||||
}
|
}
|
||||||
FileUtils.rm_f(gems)
|
FileUtils.rm_f(gems)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue