summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-07-31 18:48:48 +0100
committerLars Wirzenius <liw@liw.fi>2013-07-31 18:48:48 +0100
commit79a6709f4cc49e028fffaead40192a8bbe79f002 (patch)
tree200fc02a89287dd16cbcd3df95e13a8f6e0f098c
parent6fb702dcc45f991b7bf3106c994a83a302d7ec1c (diff)
downloadcmdtest-79a6709f4cc49e028fffaead40192a8bbe79f002.tar.gz
Make yarn run shell scripts with -x
This makes debugging easier.
-rwxr-xr-xyarn2
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn b/yarn
index fbf928d..202d726 100755
--- a/yarn
+++ b/yarn
@@ -308,7 +308,7 @@ class YarnRunner(cliapp.Application):
shell_script = '%s\n\n%s\n' % (
shell_prelude, step.implementation.shell)
exit, stdout, stderr = cliapp.runcmd_unchecked(
- ['sh', '-euc', shell_script], env=env)
+ ['sh', '-xeuc', shell_script], env=env)
logging.debug('Exit code: %d' % exit)
if stdout: