From: Paolo Bonzini Date: Mon, 10 Jun 2019 10:03:44 +0000 (+0200) Subject: configure: set $PYTHON to a full path X-Git-Tag: v5.0.0-rc0~175^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95c5f2debc867391a8c7dcc99be57dbab3dc6bda;p=thirdparty%2Fqemu.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 0a63c75d360..2943f5dfb9b 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