CONFIG: simplify version range

- accept [0-9]* instead of attempting more restrictive specifications

CONFIG: makePETSC without fortran
This commit is contained in:
Mark Olesen
2020-06-09 18:26:23 +02:00
parent 7958c7e4c1
commit 6e03e1ecb4
24 changed files with 80 additions and 91 deletions

View File

@ -81,7 +81,7 @@ do
-no-bin) unset optBinaries ;;
-no-mpi) unset withMPI ;;
scotch-[1-9]* | scotch-git | scotch_* | scotch-[1-9]*)
scotch-[0-9]* | scotch-git | scotch_* )
scotchPACKAGE="${1%%/}"
unset SCOTCH_ARCH_PATH # Avoid inconsistency
;;