From aca7abb537f5caf1c9f027cf65dd0f53fb664e73 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Tue, 26 May 2020 18:24:25 +0200 Subject: [PATCH] configure: use default python interpreter Don't try to use python2 if available, use the python interpreter available in ouput/host/bin/python whatever the python version is. Signed-off-by: Romain Naour --- configure | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/configure b/configure index eeb8d081d34..6014a982f47 100755 --- a/configure +++ b/configure @@ -2,16 +2,4 @@ script="$(dirname $0)"/src/bootstrap/configure.py -try() { - cmd=$1 - shift - T=$($cmd --version 2>/dev/null) - if [ $? -eq 0 ]; then - exec $cmd "$script" "$@" - fi -} - -try python2.7 "$@" -try python27 "$@" -try python2 "$@" exec python $script "$@" -- 2.25.4