wmakeFunctions: Added '()' to depToSource definition

Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2144
This commit is contained in:
Henry Weller
2016-07-09 20:45:46 +01:00
parent 9f682a0c5a
commit 79e31173bd

View File

@ -112,7 +112,7 @@ if [ -n "$BASH_VERSION" ]; then
sourceFile="${sourceFile/Make\/${WM_OPTIONS}${WM_MPLIB}\//}" sourceFile="${sourceFile/Make\/${WM_OPTIONS}${WM_MPLIB}\//}"
} }
else else
depToSource depToSource()
{ {
sourceFile=$(echo ${depFile%.dep} | \ sourceFile=$(echo ${depFile%.dep} | \
sed -e s%platforms/${WM_OPTIONS}/%% \ sed -e s%platforms/${WM_OPTIONS}/%% \