diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | ext/extmk.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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/ |
