From 95c5f2debc867391a8c7dcc99be57dbab3dc6bda Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 10 Jun 2019 12:03:44 +0200 Subject: configure: set $PYTHON to a full path This will make it possible to replace it in a shebang line. Signed-off-by: Paolo Bonzini --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') 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 -- cgit v1.2.3-55-g7522