From 79a6709f4cc49e028fffaead40192a8bbe79f002 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 31 Jul 2013 18:48:48 +0100 Subject: Make yarn run shell scripts with -x This makes debugging easier. --- yarn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1