This will make it possible to replace it in a shebang line. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure index 394f7f5..bbb8611 100755 --- a/configure +++ b/configure @@ -909,7 +909,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