summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--ext/extmk.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 514d362557..1b3c0e44a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Apr 3 12:46:19 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/extmk.rb: quotes arguments with spaces always.
+
Fri Apr 3 12:43:14 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (main): passes $(MAKE) to mkmain_cmd
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/