Make 'configure' script look for python2
Fixes: https://bugs.launchpad.net/midori/+bug/715264
This commit is contained in:
parent
5c8a0c53c0
commit
312821b016
1 changed files with 4 additions and 0 deletions
4
configure
vendored
4
configure
vendored
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue