summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-03 03:46:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-03 03:46:22 +0000
commit31c1ebc6b5fc56fcf3ecc093ddca12005c64e17e (patch)
treeb2dd62d6ba9c2b2eb69d78b242f6639f9ef991cb /ext
parent9aecc028a37a4e739778d15e0c403a1bd9df1c93 (diff)
* ext/extmk.rb: quotes arguments with spaces always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 35c7e09128..a18cd38af0 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -575,7 +575,7 @@ if $nmake == ?b
end
if $command_output
message = "echo #{message}"
- cmd = [$make, *sysquote($makeflags)].join(' ')
+ cmd = $makeflags.quote.join(' ')
open($command_output, 'wb') do |f|
case $command_output
when /\.sh\z/