diff options
-rwxr-xr-x | scripts/oe-setup-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-setup-build b/scripts/oe-setup-build index 49603d9fd1..edbcd48355 100755 --- a/scripts/oe-setup-build +++ b/scripts/oe-setup-build | |||
@@ -89,7 +89,7 @@ def setup_build_env(args): | |||
89 | builddir = args.b if args.b else template["buildpath"] | 89 | builddir = args.b if args.b else template["buildpath"] |
90 | no_shell = args.no_shell | 90 | no_shell = args.no_shell |
91 | coredir = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) | 91 | coredir = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) |
92 | cmd_base = ". {} {}".format(os.path.join(coredir, 'oe-init-build-env'), os.path.abspath(builddir)) | 92 | cmd_base = "cd {}\nset {}\n. ./oe-init-build-env\n".format(coredir, os.path.abspath(builddir)) |
93 | 93 | ||
94 | initbuild = os.path.join(builddir, 'init-build-env') | 94 | initbuild = os.path.join(builddir, 'init-build-env') |
95 | if not os.path.exists(initbuild): | 95 | if not os.path.exists(initbuild): |