configure: set $PYTHON to a full path

This will make it possible to replace it in a shebang line.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2019-06-10 12:03:44 +02:00
parent 44e9f2309f
commit 95c5f2debc

2
configure vendored
View File

@ -908,7 +908,7 @@ for binary in "${PYTHON-python3}" python python2
do
if has "$binary"
then
python="$binary"
python=$(command -v "$binary")
break
fi
done