summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/toaster6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index e976604c5c..75d3390d04 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -194,11 +194,11 @@ fi
194# in the local layers that currently prevent using an arbitrary 194# in the local layers that currently prevent using an arbitrary
195# toasterconf.json 195# toasterconf.json
196if [ "$TOASTER_CONF" = "" ]; then 196if [ "$TOASTER_CONF" = "" ]; then
197 BIN_DIR=$(dirname -- "$0") 197 TOASTER_CONF="$(dirname $TOASTER)/../../meta-yocto/conf/toasterconf.json"
198 export TOASTER_CONF="$BIN_DIR/../../meta-yocto/conf/toasterconf.json" 198 export TOASTER_CONF=$(python -c "import os; print os.path.realpath('$TOASTER_CONF')")
199fi 199fi
200if [ ! -f $TOASTER_CONF ]; then 200if [ ! -f $TOASTER_CONF ]; then
201 echo "$TOASTER_CONF configuration file not found, exiting..." 201 echo "$TOASTER_CONF configuration file not found. set TOASTER_CONF to specify a path"
202 exit 1; 202 exit 1;
203fi 203fi
204# this defines the dir toaster will use for 204# this defines the dir toaster will use for