This commit is contained in:
Kovid Goyal 2022-03-07 19:37:30 +05:30
parent 4d74b23f20
commit cbbea37b0c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -21,7 +21,7 @@ detect_python() {
python=$(command -v python3)
if [ -z "$python" ]; then python=$(command -v python2); fi
if [ -z "$python" ]; then python=$(command -v python); fi
if [ -z "$python" -o ! -x "$python" ]; then return 1; fi
if [ -z "$python" -o ! -x "$python" ]; then python=""; return 1; fi
return 0
}