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

login
register
mail settings
Submitter Richard Purdie
Date Oct. 4, 2013, 1:17 p.m.
Message ID <1380892623.18603.605.camel@ted>
Download mbox | patch
Permalink /patch/59261/
State Accepted
Commit f54bb9e7897e6e68acb7b4f88d998fdb149a7e47
Headers show

Comments

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

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 && \