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.

(From OE-Core rev: 5cc4d315709de195bfb0655c2f00ae2267bfa4c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-10-04 14:14:10 +01:00
parent 479fcbfd30
commit 113398d258
1 changed files with 4 additions and 1 deletions

View File

@ -34,6 +34,9 @@ else
OEROOT="`dirname $0`"
else
OEROOT="`pwd`"
fi
if [ -n "$BBSERVER" ]; then
unset BBSERVER
fi
OEROOT=`readlink -f "$OEROOT"`
export OEROOT