summaryrefslogtreecommitdiff
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-04 18:25:38 +0100
commitf54bb9e7897e6e68acb7b4f88d998fdb149a7e47 (patch)
tree095330e18fb462844a19cf5afd0c178e5c9b23f6 /oe-init-build-env-memres
parent05ebf5bbacc58315f1b33ffb80148d568f88855d (diff)
downloadopenembedded-core-f54bb9e7897e6e68acb7b4f88d998fdb149a7e47.tar.gz
openembedded-core-f54bb9e7897e6e68acb7b4f88d998fdb149a7e47.tar.bz2
openembedded-core-f54bb9e7897e6e68acb7b4f88d998fdb149a7e47.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. 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 && \