Skip to content

Commit

Permalink
do_cmake.sh: set python version for Fedora 37
Browse files Browse the repository at this point in the history
If do_cmake.sh is being exeuted on Fedora 37 set Python version to 3.11.

Signed-off-by: Rishabh Dave <[email protected]>
  • Loading branch information
rishabh-d-dave committed Apr 5, 2023
1 parent ef6b9ae commit 8b14da0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ if [ -r /etc/os-release ]; then
source /etc/os-release
case "$ID" in
fedora)
if [ "$VERSION_ID" -ge "35" ] ; then
if [ "$VERSION_ID" -ge "37" ] ; then
PYBUILD="3.11"
elif [ "$VERSION_ID" -ge "35" ] ; then
PYBUILD="3.10"
elif [ "$VERSION_ID" -ge "33" ] ; then
PYBUILD="3.9"
Expand Down

0 comments on commit 8b14da0

Please sign in to comment.