From 312821b016e53e9d0920e7ddf1a053f8cfcbbae3 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 26 Feb 2011 16:57:58 +0100 Subject: [PATCH] Make 'configure' script look for python2 Fixes: https://bugs.launchpad.net/midori/+bug/715264 --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index 1f801a4a..f38dd4a4 100755 --- a/configure +++ b/configure @@ -37,6 +37,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 @@ -85,6 +88,7 @@ checkWAF() else printf $GREEN"$WAF"$NORMAL"\n" fi + WAF="$PYTHON $WAF" } # Generates a Makefile. Requires that $WAF is set. -- 2.39.5