diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-25 01:52:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-25 01:52:22 +0000 |
commit | 21a63760c9f2ef58b3757edc34ca8f0dbed0cc0d (patch) | |
tree | 6cb9fc6cbba628aae60aed31d0fb0b5f47a6901b /ext/extmk.rb | |
parent | 2936d4b378e0bf647a5614e15f7e57cb93518bf3 (diff) | |
download | ruby-21a63760c9f2ef58b3757edc34ca8f0dbed0cc0d.tar.gz |
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
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-x | ext/extmk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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)} |