qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 42/87] configure: set $PYTHON to a full path


From: Paolo Bonzini
Subject: [PULL 42/87] configure: set $PYTHON to a full path
Date: Wed, 18 Dec 2019 13:02:08 +0100

This will make it possible to replace it in a shebang line.

Signed-off-by: Paolo Bonzini <address@hidden>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.8.3.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]