Skip to content

Commit 37a3fd4

Browse files
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 <[email protected]>
1 parent af9e68e commit 37a3fd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

do_cmake.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ if [ -r /etc/os-release ]; then
3030
;;
3131
almalinux|rocky|rhel|centos)
3232
MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
33-
if [ "$MAJOR_VER" -ge "9" ] ; then
33+
if [ "$MAJOR_VER" -ge "10" ] ; then
34+
PYBUILD="3.12"
35+
elif [ "$MAJOR_VER" -ge "9" ] ; then
3436
PYBUILD="3.9"
3537
elif [ "$MAJOR_VER" -ge "8" ] ; then
3638
PYBUILD="3.6"

0 commit comments

Comments
 (0)