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:
parent
02f43f1bd9
commit
c0d2782a0e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Aug 19 04:54:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/rake.rb (FileUtils#ruby): takes care of space containing path.
|
||||||
|
[ ruby-Bugs-21591 ]
|
||||||
|
|
||||||
Tue Aug 19 01:32:37 2008 Tanaka Akira <akr@fsij.org>
|
Tue Aug 19 01:32:37 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* io.c (rb_open_file): encoding in mode string was ignored if perm is
|
* io.c (rb_open_file): encoding in mode string was ignored if perm is
|
||||||
|
|
|
@ -917,7 +917,7 @@ module FileUtils
|
||||||
if args.length > 1 then
|
if args.length > 1 then
|
||||||
sh(*([RUBY] + args + [options]), &block)
|
sh(*([RUBY] + args + [options]), &block)
|
||||||
else
|
else
|
||||||
sh("#{RUBY} #{args.first}", options, &block)
|
sh("#{RUBY.sub(/.*\s.*/m, '"\&"')} #{args.first}", options, &block)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue