projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e9f23
)
configure: set $PYTHON to a full path
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 10 Jun 2019 10:03:44 +0000
(12:03 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 17 Dec 2019 18:32:48 +0000
(19:32 +0100)
This will make it possible to replace it in a shebang line.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 0a63c75d36056267afcb341da8570b5d7772d8ce..2943f5dfb9bcac853bf6af97f54e1ad98555fcb9 100755
(executable)
--- 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