summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/