From 79e31173bda395e9bad66ab9768860d985449e5c Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sat, 9 Jul 2016 20:45:46 +0100 Subject: [PATCH] wmakeFunctions: Added '()' to depToSource definition Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2144 --- wmake/scripts/wmakeFunctions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmake/scripts/wmakeFunctions b/wmake/scripts/wmakeFunctions index d2c48a98b3..1bfc676d83 100755 --- a/wmake/scripts/wmakeFunctions +++ b/wmake/scripts/wmakeFunctions @@ -112,7 +112,7 @@ if [ -n "$BASH_VERSION" ]; then sourceFile="${sourceFile/Make\/${WM_OPTIONS}${WM_MPLIB}\//}" } else - depToSource + depToSource() { sourceFile=$(echo ${depFile%.dep} | \ sed -e s%platforms/${WM_OPTIONS}/%% \