]> arthur.barton.de Git - bup.git/commitdiff
configure/cleanup: support python 3.10
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 25 Nov 2021 18:37:59 +0000 (19:37 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sat, 4 Dec 2021 17:25:13 +0000 (11:25 -0600)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
config/configure
dev/cleanup-mounts-under

index b27a419669605c1b402da30d7ad36da2bf77c42d..d467af0e74405ccb9586a16d46ac0aff8f722b58 100755 (executable)
@@ -119,7 +119,7 @@ if test "$BUP_PYTHON_CONFIG"; then
                          "$BUP_PYTHON_CONFIG")
     fi
 else
-    for py_maj_ver in 9 8 7 6; do
+    for py_maj_ver in 10 9 8 7 6; do
         bup_python_config="$(bup_find_prog "python3.$py_maj_ver-config" '')"
         test -z "$bup_python_config" || break
     done
index fedc0b34a7a78390acab8c8423c69d3f18837901..b1a9acb0a94448b51849620778a45f68cb34a345 100755 (executable)
@@ -4,6 +4,7 @@
 set -e
 for python in \
     python3 \
+    python3.10 \
     python3.9 \
     python3.8 \
     python3.7 \