summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env-memres
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 14:17:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-07 09:37:31 +0100
commitacf547084a68c7441797ff088490bdaa72ab7177 (patch)
tree754ba2a40e9ecae63c5abc2a5347964da905bc2d /oe-init-build-env-memres
parent540c27906a3a946878989ee736f0576cccbc6336 (diff)
downloadpoky-acf547084a68c7441797ff088490bdaa72ab7177.tar.gz
poky-acf547084a68c7441797ff088490bdaa72ab7177.tar.bz2
poky-acf547084a68c7441797ff088490bdaa72ab7177.zip
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>
Diffstat (limited to 'oe-init-build-env-memres')
-rwxr-xr-xoe-init-build-env-memres4
1 files changed, 4 insertions, 0 deletions
diff --git a/oe-init-build-env-memres b/oe-init-build-env-memres
index dca819b2eb..79b91b751a 100755
--- a/oe-init-build-env-memres
+++ b/oe-init-build-env-memres
@@ -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 && \