mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* typofix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
71da1d91b0
commit
67a7c34524
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue