diff --git a/Build/Scripts/SUNDIALS/build_sundials.sh b/Build/Scripts/SUNDIALS/build_sundials.sh index 6c9c477ae6..12808d212a 100755 --- a/Build/Scripts/SUNDIALS/build_sundials.sh +++ b/Build/Scripts/SUNDIALS/build_sundials.sh @@ -47,6 +47,7 @@ if [ -d "$FIREMODELS/sundials" ]; then else echo "Your SUNDIALS repository is not up to date with the required tag: $SUNDIALS_LIB_TAG." echo "The FDS build requires SUNDIALS version $SUNDIALS_LIB_TAG. Please update your SUNDIALS repository." + exit 1 fi mkdir $FIREMODELS/sundials/BUILDDIR cd $FIREMODELS/sundials/BUILDDIR