Updated handling of the ParaView installation path

Patch contributed by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2034
This commit is contained in:
Henry Weller
2016-03-30 19:28:28 +01:00
parent d88b4ea88d
commit 8c9c235db6
2 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,9 @@ setDirs()
echo "ParaView_SOURCE_DIR=$ParaView_SOURCE_DIR"
echo "ParaView_BINARY_DIR=$ParaView_BINARY_DIR"
echo "ParaView_DIR=$ParaView_DIR"
# Forcefully override the .git path for the ParaView source code directory
export GIT_DIR=$ParaView_SOURCE_DIR/.git
}