From 4d5d61bbebd7c9b51a4c9344ba4935ceccd02b29 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 d2c48a98b..1bfc676d8 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}/%% \