From 37a3fd46c594278b8b13ba7f185f7ba916e5417d Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Thu, 13 Feb 2025 15:59:58 -0500 Subject: [PATCH] do_cmake.sh: specify correct python version for centos 10 stream Update the python version in the same tedious manner for centos 10 stream. Signed-off-by: John Mulligan --- do_cmake.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/do_cmake.sh b/do_cmake.sh index 4d2f598094a..2f5c5ee5bd4 100755 --- a/do_cmake.sh +++ b/do_cmake.sh @@ -30,7 +30,9 @@ if [ -r /etc/os-release ]; then ;; almalinux|rocky|rhel|centos) MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//') - if [ "$MAJOR_VER" -ge "9" ] ; then + if [ "$MAJOR_VER" -ge "10" ] ; then + PYBUILD="3.12" + elif [ "$MAJOR_VER" -ge "9" ] ; then PYBUILD="3.9" elif [ "$MAJOR_VER" -ge "8" ] ; then PYBUILD="3.6" -- 2.39.5