diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-03 03:46:22 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-03 03:46:22 +0000 |
| commit | 31c1ebc6b5fc56fcf3ecc093ddca12005c64e17e (patch) | |
| tree | b2dd62d6ba9c2b2eb69d78b242f6639f9ef991cb | |
| parent | 9aecc028a37a4e739778d15e0c403a1bd9df1c93 (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-- | 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/ |
