aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-06-10 12:03:44 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-12-17 19:32:48 +0100
commit95c5f2debc867391a8c7dcc99be57dbab3dc6bda (patch)
tree88315f68c0643c2fcf3e8267d35a8afb0515244f /configure
parent44e9f2309fdb1315fc7d0a2f37eee3fecd471308 (diff)
downloadqemu-95c5f2debc867391a8c7dcc99be57dbab3dc6bda.zip
qemu-95c5f2debc867391a8c7dcc99be57dbab3dc6bda.tar.gz
qemu-95c5f2debc867391a8c7dcc99be57dbab3dc6bda.tar.bz2
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 0a63c75..2943f5d 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