mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* instruby.rb ($mflags.set?): Check $make instead of $nmake, sinse
there is no such a variable. * instruby.rb ($mflags.set?), ext/extmk.rb ($mflags.set?): Return false if unmatched. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8b222cea6b
commit
18caa8f178
3 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
Sun Jan 26 19:23:10 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* instruby.rb ($mflags.set?): Check $make instead of $nmake, sinse
|
||||
there is no such a variable.
|
||||
|
||||
* instruby.rb ($mflags.set?), ext/extmk.rb ($mflags.set?): Return
|
||||
false if unmatched.
|
||||
|
||||
Sun Jan 26 17:53:04 2003 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* instruby.rb (parse_args), ext/extmk.rb (parse_args): Detect -n
|
||||
|
|
|
@ -140,6 +140,7 @@ def parse_args()
|
|||
# Only nmake puts flags together
|
||||
if $nmake == ?m
|
||||
grep(/^-(?!-).*#{'%c' % flag}/i) { return true }
|
||||
false
|
||||
else
|
||||
include?('-%c' % flag)
|
||||
end
|
||||
|
|
|
@ -36,8 +36,9 @@ def parse_args()
|
|||
|
||||
def $mflags.set?(flag)
|
||||
# Only nmake puts flags together
|
||||
if $nmake == ?m
|
||||
if /nmake/ =~ $make
|
||||
grep(/^-(?!-).*#{'%c' % flag}/i) { return true }
|
||||
false
|
||||
else
|
||||
include?('-%c' % flag)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue