From: Paolo Bonzini Date: Mon, 10 Jun 2019 10:03:44 +0000 (+0200) Subject: configure: set $PYTHON to a full path X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=95c5f2debc867391a8c7dcc99be57dbab3dc6bda;p=qemu.git configure: set $PYTHON to a full path This will make it possible to replace it in a shebang line. Signed-off-by: Paolo Bonzini --- 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