From 21a63760c9f2ef58b3757edc34ca8f0dbed0cc0d Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 25 Mar 2018 01:52:22 +0000 Subject: extmk.rb: get rid of shadowing outer local variable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/extmk.rb b/ext/extmk.rb index 2cad5753ac..c5b41513bd 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -505,7 +505,7 @@ cond = proc {|ext, *| } incl.sort! excl.sort!.collect! {|d| d+"/"} - nil while incl.reject! {|d| excl << d+"/" if excl.any? {|e| d.start_with?(e)}} + nil while incl.reject! {|d| excl << d+"/" if excl.any? {|x| d.start_with?(x)}} exts |= incl if $LIBRUBYARG_SHARED.empty? and CONFIG["EXTSTATIC"] == "static" exts.delete_if {|d| File.fnmatch?("-*", d)} -- cgit v1.2.3