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 | 48da2e2407fce32265b7d02d29d3759b96620e1f (patch) | |
| tree | 19eeaf40fe88ed9187ac4722853dbb487da3c252 /ext | |
| parent | b60c21c5c2c59bec964bf079ef2ab834ed086f70 (diff) | |
| download | ruby-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
Diffstat (limited to 'ext')
| -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 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 |
