diff options
Diffstat (limited to 'buildstream/buildelement.py')
-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 b5f5e592d..56bdac01c 100644 --- a/buildstream/buildelement.py +++ b/buildstream/buildelement.py @@ -88,7 +88,7 @@ class BuildElement(Element): for cmd in commands: with self.timed_activity("Running %s" % command_name): self.status("Running %s" % command_name, detail=cmd) - exitcode, _, _ = sandbox.run(['/bin/sh', '-c', cmd]) + exitcode, _, _ = sandbox.run(['sh', '-c', cmd]) if exitcode != 0: raise ElementError("Command '{}' failed with exitcode {}".format(cmd, exitcode)) |