Commit 3754cd80 authored by Johannes Dewender's avatar Johannes Dewender

detect python2 as Python 2 binary

On some distributions like Arch Linux
"python" is Python 3 and "python2" is Python version 2.

We now try "python2" first and use it if available.
parent 317c26a6
......@@ -596,7 +596,7 @@ fi
printf " Checking for python... "
if test "$f_python" = NO; then
python_names="python"
python_names="python2 python"
python_dirs="$bin_dirs /usr/bin /usr/local/bin /bin /sbin"
python_prog=NO
python_found=NO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment