diff options
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-x | bitbake/bin/toaster | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index be1bb9c4f7..e3a0dae48f 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -115,7 +115,7 @@ verify_prereq() { | |||
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' |
118 | if ! sed -n "$exp" $reqfile | python - ; then | 118 | if ! sed -n "$exp" $reqfile | python3 - ; then |
119 | req=`grep ^Django $reqfile` | 119 | req=`grep ^Django $reqfile` |
120 | echo "This program needs $req" | 120 | echo "This program needs $req" |
121 | echo "Please install with pip install -r $reqfile" | 121 | echo "Please install with pip install -r $reqfile" |