diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 14:14:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 18:25:38 +0100 |
commit | 5cc4d315709de195bfb0655c2f00ae2267bfa4c6 (patch) | |
tree | 8c91272333277d303464ca62183785382f80c1fc | |
parent | 4003218f774c38bb5de0d95a43153f8b8d7fc4ce (diff) | |
download | openembedded-core-5cc4d315709de195bfb0655c2f00ae2267bfa4c6.tar.gz openembedded-core-5cc4d315709de195bfb0655c2f00ae2267bfa4c6.tar.bz2 openembedded-core-5cc4d315709de195bfb0655c2f00ae2267bfa4c6.zip |
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@linuxfoundation.org>
-rwxr-xr-x | 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 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 && \ |