summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/toaster6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 05b7935ddb..be1bb9c4f7 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -111,7 +111,7 @@ stop_system()
111 111
112verify_prereq() { 112verify_prereq() {
113 # Verify Django version 113 # Verify Django version
114 reqfile=$(python -c "import os; print(os.path.realpath('$BBBASEDIR/toaster-requirements.txt'))") 114 reqfile=$(python3 -c "import os; print(os.path.realpath('$BBBASEDIR/toaster-requirements.txt'))")
115 exp='s/Django\([><=]\+\)\([^,]\+\),\([><=]\+\)\(.\+\)/' 115 exp='s/Django\([><=]\+\)\([^,]\+\),\([><=]\+\)\(.\+\)/'
116 exp=$exp'import sys,django;version=django.get_version().split(".");' 116 exp=$exp'import sys,django;version=django.get_version().split(".");'
117 exp=$exp'sys.exit(not (version \1 "\2".split(".") and version \3 "\4".split(".")))/p' 117 exp=$exp'sys.exit(not (version \1 "\2".split(".") and version \3 "\4".split(".")))/p'
@@ -135,7 +135,7 @@ else
135fi 135fi
136 136
137export BBBASEDIR=`dirname $TOASTER`/.. 137export BBBASEDIR=`dirname $TOASTER`/..
138MANAGE=$BBBASEDIR/lib/toaster/manage.py 138MANAGE="python3 $BBBASEDIR/lib/toaster/manage.py"
139OEROOT=`dirname $TOASTER`/../.. 139OEROOT=`dirname $TOASTER`/../..
140 140
141# this is the configuraton file we are using for toaster 141# this is the configuraton file we are using for toaster
@@ -162,7 +162,7 @@ fi
162 162
163if [ "$TOASTER_CONF" = "" ]; then 163if [ "$TOASTER_CONF" = "" ]; then
164 TOASTER_CONF="$TEMPLATECONF/toasterconf.json" 164 TOASTER_CONF="$TEMPLATECONF/toasterconf.json"
165 export TOASTER_CONF=$(python -c "import os; print(os.path.realpath('$TOASTER_CONF'))") 165 export TOASTER_CONF=$(python3 -c "import os; print(os.path.realpath('$TOASTER_CONF'))")
166fi 166fi
167 167
168if [ ! -f $TOASTER_CONF ]; then 168if [ ! -f $TOASTER_CONF ]; then