"Replacing ParaView_DIR setting by '$paraviewInstall'"
"Replacing ParaView_DIR setting by '$paraviewInstall'"
shift 2
shift 2
;;
;;
-paraviewVersion|--paraviewVersion)
-paraviewVersion|--paraviewVersion)
...
@@ -186,13 +163,36 @@ do
...
@@ -186,13 +163,36 @@ do
"Replacing ParaView_VERSION setting by '$paraviewVersion'"
"Replacing ParaView_VERSION setting by '$paraviewVersion'"
shift 2
shift 2
;;
;;
-scotchVersion|--scotchVersion)
["$#"-ge 2 ]|| usage "'$1' option requires an argument"
scotchVersion="$2"
_inlineSed \
etc/config/scotch.sh \
'SCOTCH_VERSION=.*'\
'SCOTCH_VERSION='"$scotchVersion"\
"Replacing SCOTCH_VERSION setting by '$scotchVersion'"
shift 2
;;
-scotchArchPath|--scotchArchPath)
["$#"-ge 2 ]|| usage "'$1' option requires an argument"
scotchArchPath="$2"
_inlineSed \
etc/config/scotch.sh \
'SCOTCH_ARCH_PATH=.*'\
'SCOTCH_ARCH_PATH='"$scotchArchPath"\
"Replacing SCOTCH_ARCH_PATH setting by '$scotchArchPath'"
shift 2
;;
*)
*)
usage "unknown option/argument: '$*'"
usage "unknown option/argument: '$*'"
;;
;;
esac
esac
done
done
[-n"$foamInstall"-o-n"$projectName"-o-n"$projectVersion"-o-n"$archOption"-o-n"$paraviewInstall"-o-n"$paraviewVersion"]|| usage "Please specify at least one configure option"