1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rake.rb (FileUtils#ruby): takes care of space containing path.

[ ruby-Bugs-21591 ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-08-18 19:54:42 +00:00
parent 02f43f1bd9
commit c0d2782a0e
2 changed files with 6 additions and 1 deletions

View file

@ -917,7 +917,7 @@ module FileUtils
if args.length > 1 then
sh(*([RUBY] + args + [options]), &block)
else
sh("#{RUBY} #{args.first}", options, &block)
sh("#{RUBY.sub(/.*\s.*/m, '"\&"')} #{args.first}", options, &block)
end
end