This variable will be used in localhost controller code
to determine correct bitbake location, so it has to be
exported.

Signed-off-by: Ed Bartosh <[email protected]>
---
 bitbake/bin/toaster | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index dfaff2e..70c66d2 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -101,6 +101,7 @@ stop_system()
     unset TOASTER_CONF
     unset TOASTER_DIR
     unset BITBAKE_UI
+    unset BBBASEDIR
     trap - SIGHUP
     #trap - SIGCHLD
     INSTOPSYSTEM=0
@@ -131,7 +132,7 @@ else
     TOASTER=$0
 fi
 
-BBBASEDIR=`dirname $TOASTER`/..
+export BBBASEDIR=`dirname $TOASTER`/..
 MANAGE=$BBBASEDIR/lib/toaster/manage.py
 OEROOT=`dirname $TOASTER`/../..
 
-- 
2.1.4

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to