Skip to content
Snippets Groups Projects
Commit 311f99a2 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: catch none/false for build prefix

parent b13298ef
No related merge requests found
......@@ -8,11 +8,12 @@ targetType=libso
#------------------------------------------------------------------------------
moduleName="adiosFoam"
if [ "$FOAM_MODULE_PREFIX" = false ]
then
echo "Compilation of $moduleName is disabled (prefix=false)"
echo "========================================"
case "$FOAM_MODULE_PREFIX" in
(false | none)
echo "Compilation of $moduleName is disabled (prefix=${FOAM_MODULE_PREFIX})"
exit 0
fi
esac
echo "========================================"
date "+%Y-%m-%d %H:%M:%S %z" 2>/dev/null || echo "date is unknown"
......
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