diff options
author | Christian Dywan <christian@twotoasts.de> | 2011-02-26 16:57:58 +0100 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2011-02-26 16:57:58 +0100 |
commit | ce4e881b5660a9a662a2bf4cbc7eb4f53ed117a5 (patch) | |
tree | 92ecc6bea01c7abdf3f8a217a2069ea8c8c1f77f /configure | |
parent | e440568a2d57f60c1f0eecb453bc5df045888735 (diff) | |
download | midori-ce4e881b5660a9a662a2bf4cbc7eb4f53ed117a5.tar.gz |
Make 'configure' script look for python2
Fixes: https://bugs.launchpad.net/midori/+bug/715264
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,9 @@ cd $CUR_DIR checkPython() { if [ -z "$PYTHON" ] ; then + PYTHON=`which python2 2>/dev/null` + fi + if [ -z "$PYTHON" ] ; then PYTHON=`which python 2>/dev/null` fi printf "Checking for Python\t\t\t: " @@ -85,6 +88,7 @@ checkWAF() else printf $GREEN"$WAF"$NORMAL"\n" fi + WAF="$PYTHON $WAF" } # Generates a Makefile. Requires that $WAF is set. |