summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini2019-06-10 12:03:44 +0200
committerPaolo Bonzini2019-12-17 19:32:48 +0100
commit95c5f2debc867391a8c7dcc99be57dbab3dc6bda (patch)
tree88315f68c0643c2fcf3e8267d35a8afb0515244f /configure
parentstubs: replace stubs with lnot if applicable (diff)
downloadqemu-95c5f2debc867391a8c7dcc99be57dbab3dc6bda.tar.gz
qemu-95c5f2debc867391a8c7dcc99be57dbab3dc6bda.tar.xz
qemu-95c5f2debc867391a8c7dcc99be57dbab3dc6bda.zip
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0a63c75d36..2943f5dfb9 100755
--- a/configure
+++ b/configure
@@ -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