mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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:
@ -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}/%% \
|
||||||
|
|||||||
Reference in New Issue
Block a user