summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-25 01:52:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-25 01:52:22 +0000
commit21a63760c9f2ef58b3757edc34ca8f0dbed0cc0d (patch)
tree6cb9fc6cbba628aae60aed31d0fb0b5f47a6901b /ext
parent2936d4b378e0bf647a5614e15f7e57cb93518bf3 (diff)
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')
-rwxr-xr-xext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 2cad575..c5b4151 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)}