From 2bcdd83e3f712200aecba3daf375bac8f1b0d01d Mon Sep 17 00:00:00 2001 From: hsbt Date: Wed, 25 Oct 2017 06:58:24 +0000 Subject: 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 --- tool/make-snapshot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool/make-snapshot') 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 -- cgit v1.2.3