All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] oe-init-build-env: unset BBSERVER
@ 2013-10-04 13:14 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-10-04 13:14 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/oe-init-build-env b/oe-init-build-env
index 68af7b5..de9692f 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -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 && \




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-04 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 13:14 [PATCH] oe-init-build-env: unset BBSERVER Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.