mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
2936d4b378
commit
21a63760c9
1 changed files with 1 additions and 1 deletions
|
@ -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)}
|
||||
|
|
Loading…
Add table
Reference in a new issue