summaryrefslogtreecommitdiffstats
path: root/instruby.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-26 10:29:05 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-26 10:29:05 +0000
commitbf5e0f744a81f6596737377dfd84e26cef6ba399 (patch)
tree35aab80451fa8398cb28ed7699d71ab92b18d1f8 /instruby.rb
parent6cef8c5fe674088d368786356f55e6fbc8f1cc49 (diff)
downloadruby-bf5e0f744a81f6596737377dfd84e26cef6ba399.tar.gz
ruby-bf5e0f744a81f6596737377dfd84e26cef6ba399.tar.xz
ruby-bf5e0f744a81f6596737377dfd84e26cef6ba399.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@3414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb
index e69ec072c..fc8639f11 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