diff options
Diffstat (limited to 'scripts/oe-setup-build')
-rwxr-xr-x | scripts/oe-setup-build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-setup-build b/scripts/oe-setup-build index 1cb06b3b79..80d8c70bac 100755 --- a/scripts/oe-setup-build +++ b/scripts/oe-setup-build | |||
@@ -102,9 +102,9 @@ def setup_build_env(args): | |||
102 | 102 | ||
103 | cmd = "TEMPLATECONF={} {}".format(template["templatepath"], cmd_base) | 103 | cmd = "TEMPLATECONF={} {}".format(template["templatepath"], cmd_base) |
104 | if not no_shell: | 104 | if not no_shell: |
105 | cmd = cmd + " && {}".format(os.environ['SHELL']) | 105 | cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) |
106 | print("Running:", cmd) | 106 | print("Running:", cmd) |
107 | subprocess.run(cmd, shell=True, executable=os.environ['SHELL']) | 107 | subprocess.run(cmd, shell=True, executable=os.environ.get('SHELL','bash')) |
108 | 108 | ||
109 | parser = argparse.ArgumentParser(description="A script that discovers available build configurations and sets up a build environment based on one of them. Run without arguments to choose one interactively.") | 109 | parser = argparse.ArgumentParser(description="A script that discovers available build configurations and sets up a build environment based on one of them. Run without arguments to choose one interactively.") |
110 | parser.add_argument("--layerlist", default=defaultlayers(), help='Where to look for available layers (as written out by setup-layers script) (default is {}).'.format(defaultlayers())) | 110 | parser.add_argument("--layerlist", default=defaultlayers(), help='Where to look for available layers (as written out by setup-layers script) (default is {}).'.format(defaultlayers())) |