flatten command so env vars like LD can themselves be lists

This commit is contained in:
Josh Holtrop 2013-06-26 20:27:24 -04:00
parent fdd21754d1
commit 16918570d2

View File

@ -48,6 +48,7 @@ module Rscons
end end
def execute(short_desc, command) def execute(short_desc, command)
command = command.flatten
if @echo == :command if @echo == :command
puts command.join(' ') puts command.join(' ')
elsif @echo == :short elsif @echo == :short