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

Submitted by Richard Purdie on Oct. 4, 2013, 1:17 p.m.

Details

Message ID 1380892623.18603.605.camel@ted
State Accepted
Commit f54bb9e7897e6e68acb7b4f88d998fdb149a7e47
Headers show

Commit Message

Richard Purdie Oct. 4, 2013, 1:17 p.m.
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>
---

Patch hide | download patch | download mbox

diff --git a/oe-init-build-env-memres b/oe-init-build-env-memres
index dca819b..79b91b7 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 && \