summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/toaster
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-xbitbake/bin/toaster4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 987d53c10d..921164c47e 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -112,7 +112,7 @@ stop_system()
112 112
113verify_prereq() { 113verify_prereq() {
114 # Verify Django version 114 # Verify Django version
115 reqfile=$(python -c "import os; print os.path.realpath('$BBBASEDIR/toaster-requirements.txt')") 115 reqfile=$(python -c "import os; print(os.path.realpath('$BBBASEDIR/toaster-requirements.txt'))")
116 exp='s/Django\([><=]\+\)\([^,]\+\),\([><=]\+\)\(.\+\)/' 116 exp='s/Django\([><=]\+\)\([^,]\+\),\([><=]\+\)\(.\+\)/'
117 exp=$exp'import sys,django;version=django.get_version().split(".");' 117 exp=$exp'import sys,django;version=django.get_version().split(".");'
118 exp=$exp'sys.exit(not (version \1 "\2".split(".") and version \3 "\4".split(".")))/p' 118 exp=$exp'sys.exit(not (version \1 "\2".split(".") and version \3 "\4".split(".")))/p'
@@ -163,7 +163,7 @@ fi
163 163
164if [ "$TOASTER_CONF" = "" ]; then 164if [ "$TOASTER_CONF" = "" ]; then
165 TOASTER_CONF="$TEMPLATECONF/toasterconf.json" 165 TOASTER_CONF="$TEMPLATECONF/toasterconf.json"
166 export TOASTER_CONF=$(python -c "import os; print os.path.realpath('$TOASTER_CONF')") 166 export TOASTER_CONF=$(python -c "import os; print(os.path.realpath('$TOASTER_CONF'))")
167fi 167fi
168 168
169if [ ! -f $TOASTER_CONF ]; then 169if [ ! -f $TOASTER_CONF ]; then