Skip to contentSkip to conversation

oe-init-build-env: unset BBSERVER

PATCH New Richard Purdie 1 participant 1 message Oct 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oe-init-build-env: unset BBSERVER

If BBSERVER is set, we should unset it before proceeding. Its assumed the user will have unloaded the server from memory should they have wished to do so.

---

oe-init-build-env +4 -1
index 68af7b5..de9692f 100755
@@ -35,7 +35,10 @@ else
    else
       OEROOT="`pwd`"
    fi
-   OEROOT=`readlink -f "$OEROOT"`
+   if [ -n "$BBSERVER" ]; then
+      unset BBSERVER
+   fi
+    OEROOT=`readlink -f "$OEROOT"`
    export OEROOT
    . $OEROOT/scripts/oe-buildenv-internal && \
         $OEROOT/scripts/oe-setup-builddir && \