|
@@ -151,15 +151,7 @@ fi
|
|
|
|
|
|
unset OE_ROOT
|
|
|
|
|
|
-# this defines the dir toaster will use for
|
|
|
-# 1) clones of layers (in _toaster_clones )
|
|
|
-# 2) the build dir (in build)
|
|
|
-# 3) the sqlite db if that is being used.
|
|
|
-# 4) pid's we need to clean up on exit/shutdown
|
|
|
-# note: for future. in order to make this an arbitrary directory, we need to
|
|
|
-# make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does.
|
|
|
-export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOASTER_DIR"
|
|
|
-export TOASTER_DIR=`pwd`
|
|
|
+
|
|
|
|
|
|
WEBSERVER=1
|
|
|
ADDR_PORT="localhost:8000"
|
|
@@ -215,10 +207,8 @@ fi
|
|
|
# 2) the build dir (in build)
|
|
|
# 3) the sqlite db if that is being used.
|
|
|
# 4) pid's we need to clean up on exit/shutdown
|
|
|
-# note: for future. in order to make this an arbitrary directory, we need to
|
|
|
-# make sure that the toaster.sqlite file doesn't default to `pwd`
|
|
|
-# like it currently does.
|
|
|
export TOASTER_DIR=`dirname $BUILDDIR`
|
|
|
+export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOASTER_DIR"
|
|
|
|
|
|
# Determine the action. If specified by arguments, fine, if not, toggle it
|
|
|
if [ "$CMD" = "start" ] ; then
|