]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oe-init-build-env-memres: Unset BBSERVER if already set
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Oct 2013 13:17:03 +0000 (14:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Oct 2013 08:37:31 +0000 (09:37 +0100)
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>
oe-init-build-env-memres

index dca819b2ebe532cf2cf18134bac965b583fbc1a8..79b91b751a9053469f722f1152b59ace86a78e7c 100755 (executable)
@@ -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 && \