summaryrefslogtreecommitdiffstats
path: root/scripts/oe-buildenv-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-buildenv-internal')
-rwxr-xr-xscripts/oe-buildenv-internal5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 0a4d3243d1..df953896f1 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -74,8 +74,9 @@ if ! (test -d "$BITBAKEDIR"); then
74 return 1 74 return 1
75fi 75fi
76 76
77PATH="${OEROOT}/scripts:$BITBAKEDIR/bin/:$PATH" 77NEWPATHS="${OEROOT}/scripts:$BITBAKEDIR/bin/:"
78unset BITBAKEDIR 78[ "${PATH#$NEWPATHS}" != "$PATH" ] || PATH="$NEWPATHS$PATH"
79unset BITBAKEDIR NEWPATHS
79 80
80# Used by the runqemu script 81# Used by the runqemu script
81export BUILDDIR 82export BUILDDIR