summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-03 23:16:52 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-03 23:16:52 +0000
commit6cff858589bed107ac6a1ec8db07cd654a4dbe07 (patch)
treeed9103326db689f0fd497ff812c8e6f04ad1aca6 /ext
parentcdce29bf0f4278ff254656895ed49ff6d5000cf4 (diff)
Fix a bogon in the last commit. (reported by WATANABE Tetsuya in
[ruby-dev:18634]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 1df0b87..97310f8 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -99,8 +99,7 @@ getopts('', 'extstatic', 'make:', 'make-flags:')
$force_static = $OPT['extstatic']
$make = $OPT['make'] || $make
-$mflags = $OPT['make-flags'] || ""
-$mflags = Shellwords.shellwords(mflags)
+$mflags = Shellwords.shellwords($OPT['make-flags'] || "")
if mflags = ENV["MAKEFLAGS"]
mflags, = mflags.split(nil, 2)