oe-init-build-env-memres: Unset BBSERVER if already set

When starting a new server we don't want bitbake to connect to an existing
server so ensure BBSERVER is unset.

(From OE-Core rev: f54bb9e7897e6e68acb7b4f88d998fdb149a7e47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-10-04 14:17:03 +01:00
parent 540c27906a
commit acf547084a
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ else
else
OEROOT="`pwd`"
fi
if [ -n "$BBSERVER" ]; then
unset BBSERVER
fi
OEROOT=`readlink -f "$OEROOT"`
export OEROOT
. $OEROOT/scripts/oe-buildenv-internal && \