diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-26 10:29:05 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-26 10:29:05 +0000 |
commit | 18caa8f178c971ff61ccc4c5730c657a2bac3e84 (patch) | |
tree | 35aab80451fa8398cb28ed7699d71ab92b18d1f8 /instruby.rb | |
parent | 8b222cea6bcd69b6a854be03f2362c5961b43a03 (diff) | |
download | ruby-18caa8f178c971ff61ccc4c5730c657a2bac3e84.tar.gz |
* 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
Diffstat (limited to 'instruby.rb')
-rw-r--r-- | instruby.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index e69ec072c4..fc8639f112 100644 --- a/instruby.rb +++ b/instruby.rb @@ -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 |