From: Vladimir Serbinenko Date: Thu, 24 Aug 2023 21:25:48 +0000 (+0200) Subject: autogen: Accept python3.10 as a python alternative X-Git-Tag: grub-2.12~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d6a89980618003253684109c00f239e411d83fe;p=thirdparty%2Fgrub.git autogen: Accept python3.10 as a python alternative NetBSD doesn't provide python or python3. Signed-off-by: Vladimir Serbinenko Reviewed-by: Daniel Kiper --- diff --git a/autogen.sh b/autogen.sh index 5a5c356fd..195daa541 100755 --- a/autogen.sh +++ b/autogen.sh @@ -9,7 +9,7 @@ fi # Detect python if [ -z "$PYTHON" ]; then - for i in python3 python; do + for i in python3 python3.10 python; do if command -v "$i" > /dev/null 2>&1; then PYTHON="$i" echo "Using $PYTHON..."