diff options
Diffstat (limited to 'bin/sconsoutput.py')
-rw-r--r-- | bin/sconsoutput.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/sconsoutput.py b/bin/sconsoutput.py index 536bcea..ecc816c 100644 --- a/bin/sconsoutput.py +++ b/bin/sconsoutput.py @@ -238,7 +238,10 @@ class Curry: return apply(self.fun, self.pending + args, kw) def Str(target, source, env, cmd=""): - return env.subst(cmd, target=target, source=source) + result = [] + for cmd in env.subst_list(cmd, target=target, source=source): + result.append(string.join(map(str, cmd))) + return string.join(result, '\\n') class ToolSurrogate: def __init__(self, tool, variable, func, varlist): |