diff options
Diffstat (limited to 'poky/meta/lib/oeqa/sdk/utils/sdkbuildproject.py')
-rw-r--r-- | poky/meta/lib/oeqa/sdk/utils/sdkbuildproject.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/poky/meta/lib/oeqa/sdk/utils/sdkbuildproject.py b/poky/meta/lib/oeqa/sdk/utils/sdkbuildproject.py index 6fed73e350..32f5e3310d 100644 --- a/poky/meta/lib/oeqa/sdk/utils/sdkbuildproject.py +++ b/poky/meta/lib/oeqa/sdk/utils/sdkbuildproject.py @@ -1,5 +1,8 @@ +# # Copyright (C) 2016 Intel Corporation -# Released under the MIT license (see COPYING.MIT) +# +# SPDX-License-Identifier: MIT +# import os import subprocess @@ -42,7 +45,8 @@ class SDKBuildProject(BuildProject): def _run(self, cmd): self.log("Running . %s; " % self.sdkenv + cmd) try: - output = subprocess.check_output(". %s; " % self.sdkenv + cmd, shell=True, stderr=subprocess.STDOUT) + output = subprocess.check_output(". %s; " % self.sdkenv + cmd, shell=True, + executable='/bin/bash', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as exc: print(exc.output.decode('utf-8')) return exc.returncode |