summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-30 12:23:11 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-30 12:23:11 +0000
commit48da2e2407fce32265b7d02d29d3759b96620e1f (patch)
tree19eeaf40fe88ed9187ac4722853dbb487da3c252
parentb60c21c5c2c59bec964bf079ef2ab834ed086f70 (diff)
downloadruby-48da2e2407fce32265b7d02d29d3759b96620e1f.tar.gz
ruby-48da2e2407fce32265b7d02d29d3759b96620e1f.tar.xz
ruby-48da2e2407fce32265b7d02d29d3759b96620e1f.zip
* typofix
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 5e86078d7..0a61b65e8 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -105,7 +105,7 @@ getopts('', 'extstatic', 'make:', 'make-flags:')
$force_static = $OPT['extstatic'] == 'static'
$make = $OPT['make'] || $make
$mflags = Shellwords.shellwords($OPT['make-flags'] || "")
-$mflags[0].sub!(/^(?=\w+)$/, "-") unless mflags.empty?
+$mflags[0].sub!(/^(?=\w+)$/, "-") unless $mflags.empty?
$make, *$mflags[0, 0] = Shellwords.shellwords($make)
mflags = $mflags.grep(/^-([^-].*)/) {$1}.join