Skip to content
Snippets Groups Projects
Commit 1dd5b938 authored by Henry's avatar Henry
Browse files

wmake/scripts/AllwmakeParseArguments: Handle stop-on-error

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1485
parent d11ce0b5
Branches
Tags
No related merge requests found
......@@ -27,10 +27,5 @@ else
echo
fi
if [ -n "$SCOTCH_ARCH_PATH" ]
then
wmake $targetType scotchGamgAgglomeration
fi
# ----------------------------------------------------------------- end-of-file
......@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2014 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
......@@ -144,6 +144,16 @@ do
done
#------------------------------------------------------------------------------
# If WM_CONTINUE_ON_ERROR not set activate the shell option "stop on error"
#------------------------------------------------------------------------------
if [ -z "${WM_CONTINUE_ON_ERROR}" ]
then
set -e
fi
#------------------------------------------------------------------------------
# Cleanup local variables and functions
#------------------------------------------------------------------------------
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment