]> code.ossystems Code Review - openembedded-core.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>
Fri, 4 Oct 2013 17:25:38 +0000 (18:25 +0100)
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>
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 && \