Modified Python check

This commit is contained in:
LAbyOne 2022-10-18 18:45:30 +02:00 committed by GitHub
parent f66297ebee
commit 945a0f59fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -645,14 +645,14 @@ Utilities
menu() {
echo
echo -e $COL_GREEN" ------------------------------------------------------------------------------"
if [[ ! -x "/usr/local/bin/pip3" ]]; then
if [[ ! -x "/usr/local/bin/python3" ]]; then
echo -e " ${pynone}"
fi
echo -e "$COL_GREEN 🍀 Clover r${revision}$COL_WHITE (SHA: $lsha1)"
echo -e "$COL_CYAN TOOLCHAIN: $MYTOOLCHAIN (override example: './buildme XCODE8')"
if [[ -x "/usr/local/bin/pip3" ]]; then
if [[ -x "/usr/local/bin/python3" ]]; then
echo -e $COL_GREEN" ------------------- ${pyversion}$COL_GREEN ------------------ "$COL_RESET
echo -e "\n\n\n\n\n\n\n\n"
echo -e "\n\n\n\n\n\n\n\n"
else
echo -e $COL_GREEN" ------------------------------------------------------------------------------"$COL_RESET
echo -e "\n\n\n\n\n\n\n"