[oe-commits] Richard Purdie : oe-init-build-env: unset BBSERVER
git at git.openembedded.org
git at git.openembedded.org
Fri Oct 4 17:14:12 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 5cc4d315709de195bfb0655c2f00ae2267bfa4c6
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5cc4d315709de195bfb0655c2f00ae2267bfa4c6
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Fri Oct 4 14:14:10 2013 +0100
oe-init-build-env: unset BBSERVER
If BBSERVER is set, we should unset it before proceeding. Its assumed the
user will have unloaded the server from memory should they have wished
to do so.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
oe-init-build-env | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/oe-init-build-env b/oe-init-build-env
index 68af7b5..de9692f 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 && \
More information about the Openembedded-commits
mailing list