summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-20 14:00:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-20 14:00:13 +0000
commit2dc01a5f2f0a0968cf142bf3de06bd0240476722 (patch)
tree516bc0b4a1684c4fe0aebea5c9bee6dd0acc96d8 /ext/extmk.rb
parentea0c3a883262b826c2b0f4bc74910b15e8757342 (diff)
ext/extmk.rb: Shellwords.join
* ext/extmk.rb (system): use Shellwords.join. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 9af651c..e37ea66 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -56,7 +56,7 @@ def system(*args)
if args.size == 1
puts args
else
- puts args.map{|arg| Shellwords.escape(arg)}.join(' ')
+ puts Shellwords.join(args)
end
end
super