syntax error -z after variable

Consider splitting mac and linux  install scripts into separate files
This commit is contained in:
TheRinger 2019-01-26 13:34:37 -08:00 committed by GitHub
parent 3bc96c16ac
commit 1da61720e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ function check_installed_python() {
return
fi
if [ -z ${PYTHON} ]; then
if [ ${PYTHON} -z ]; then
echo "No usable python found. Please make sure to have python3.6 or python3.7 installed"
exit 1
fi