diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-07-05 11:24:05 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-07-05 11:24:05 +0100 |
commit | f997084c22c2e1b744b03907ee850299ed3d90e5 (patch) | |
tree | ebfaa4b078cb4dcf294f420dc7470735f98e027a | |
parent | 8dc8a3ecba70501fbe0ad1e1abf614cab34d4948 (diff) | |
download | buildstream-f997084c22c2e1b744b03907ee850299ed3d90e5.tar.gz |
buildelement.py: Log commands run by source-bundle scripts
This makes the log output more useful, as you see output like this
for each command that is run
+ ./configure --prefix=/usr
...configure output...
+ make
...make output...
etc.
-rw-r--r-- | buildstream/buildelement.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/buildelement.py b/buildstream/buildelement.py index f6d1df3b0..859b682ad 100644 --- a/buildstream/buildelement.py +++ b/buildstream/buildelement.py @@ -217,6 +217,6 @@ class BuildElement(Element): commands = self.commands[command_name] for cmd in commands: - script += "(set -e; {}\n) || exit 1\n".format(cmd) + script += "(set -ex; {}\n) || exit 1\n".format(cmd) return script |