Python in func_check_version should be uppercase

This commit is contained in:
Pierre Labastie 2019-02-15 16:06:46 +00:00
parent 7a821947ad
commit 399058f718

View file

@ -164,7 +164,7 @@ check_prerequisites() { #
check_version "$MIN_Xz_VER" "$(xz --version | head -n1 | cut -d" " -f4)" "XZ"
fi
if [ -n "$MIN_Python_VER" ]; then
check_version "$MIN_Python_VER" "3.$(python3 -c"import sys; print(sys.version_info.minor,'.',sys.version_info.micro,sep='')")" "Python"
check_version "$MIN_Python_VER" "3.$(python3 -c"import sys; print(sys.version_info.minor,'.',sys.version_info.micro,sep='')")" "PYTHON"
fi
}