summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xoe-init-build-env5
1 files changed, 4 insertions, 1 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index 68af7b5193..de9692fe44 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -35,7 +35,10 @@ else
else
OEROOT="`pwd`"
fi
- OEROOT=`readlink -f "$OEROOT"`
+ if [ -n "$BBSERVER" ]; then
+ unset BBSERVER
+ fi
+ OEROOT=`readlink -f "$OEROOT"`
export OEROOT
. $OEROOT/scripts/oe-buildenv-internal && \
$OEROOT/scripts/oe-setup-builddir && \