diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-12-08 21:18:08 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-12-08 21:18:08 +0100 |
commit | 2ba81ac7f4261bfff38b5d8f6cd03f1b94d4be82 (patch) | |
tree | cf4d474dd19adb4464706cbc3adf58e5de1488f6 | |
parent | 70a9839743280edf915c356c309991fba6d7790d (diff) | |
download | cmdtest-2ba81ac7f4261bfff38b5d8f6cd03f1b94d4be82.tar.gz |
Only use non-empty --shell-arg values
This allows --shell=python --shell-arg='' to override /bin/sh.
-rwxr-xr-x | yarn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -455,7 +455,7 @@ class YarnRunner(cliapp.Application): f.write(step.implementation.shell) f.flush() shell = self.settings['shell'] - shell_args = self.settings['shell-arg'] + shell_args = [x for x in self.settings['shell-arg'] if x] logging.warning('shell: %r', shell) logging.warning('shell_args: %r', shell_args) logging.warning('shell_script: %r', shell_script) |