OK - now I understand why this was done. However, the CALL command is choking
on any commands sent to sh that contains a newline character. It's not pretty,
but this fix appears to resolve the problem (at least all of the tests pass):
# Run a command line on windows.
def rake_system(*cmd)
perform_variable_expansion cmd[0]
system(*cmd)
end
def perform_variable_expansion(cmd)
ENV.each do |k, v|
cmd.sub!(/\%#{k}\%/i, v)
end
end
Regards,
Jay Turpin
"There are four things that hold back human progress. Ignorance, stupidity,
committees and accountants." - Charles J.C. Lyall
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel