From 5e73dc9233f8a5ea926c90e2178555a932b111c2 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 26 Sep 2003 00:52:49 +0000 Subject: * defines.h (flush_register_windows): use volatile only for gcc on Solaris. [ruby-dev:21403] * lib/mkmf.rb (xsystem): use system directly to honor shell meta charaters. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mkmf.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 8a3c7c914..cadf81ee2 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -165,9 +165,8 @@ end def xsystem command Config.expand(command) Logging::open do - command = Shellwords.shellwords(command) - puts command.quote.join(' ') - system(*command) + puts command.quote + system(command) end end -- cgit