diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-30 12:23:11 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-30 12:23:11 +0000 |
commit | 67a7c345248496622e42bb742937128f160e0d6f (patch) | |
tree | 19eeaf40fe88ed9187ac4722853dbb487da3c252 /ext/extmk.rb | |
parent | 71da1d91b013249d0573600d940f52af95304818 (diff) | |
download | ruby-67a7c345248496622e42bb742937128f160e0d6f.tar.gz |
* typofix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rw-r--r-- | ext/extmk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 5e86078d7b..0a61b65e84 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 |