summaryrefslogtreecommitdiff
path: root/oe-init-build-env
diff options
context:
space:
mode:
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-xoe-init-build-env6
1 files changed, 3 insertions, 3 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index 77332a7d6..cc30a3b19 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -35,10 +35,10 @@ else
fi
OEROOT=`readlink -f "$OEROOT"`
export OEROOT
- . $OEROOT/scripts/oe-buildenv-internal
- $OEROOT/scripts/oe-setup-builddir
+ . $OEROOT/scripts/oe-buildenv-internal && \
+ $OEROOT/scripts/oe-setup-builddir && \
+ [ -n "$BUILDDIR" ] && cd $BUILDDIR
unset OEROOT
unset BBPATH
- [ -n "$BUILDDIR" ] && cd $BUILDDIR
fi