diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-10 12:03:44 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:32:48 +0100 |
commit | 95c5f2debc867391a8c7dcc99be57dbab3dc6bda (patch) | |
tree | 88315f68c0643c2fcf3e8267d35a8afb0515244f /configure | |
parent | 44e9f2309fdb1315fc7d0a2f37eee3fecd471308 (diff) |
configure: set $PYTHON to a full path
This will make it possible to replace it in a shebang line.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |