summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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