]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
autogen: Accept python3.10 as a python alternative
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 24 Aug 2023 21:25:48 +0000 (23:25 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 13 Dec 2023 12:00:00 +0000 (13:00 +0100)
NetBSD doesn't provide python or python3.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
autogen.sh

index 5a5c356fda42246646d314628bc18382fb8d12a5..195daa5418a0f4e64eb0852b4f508f419ed75348 100755 (executable)
@@ -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..."