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:26:01 +01:00
parent f1ecdd77e6
commit 1c35f1a505
2 changed files with 0 additions and 7 deletions

View File

@ -115,10 +115,6 @@ then
fi
ParaView_LIB_DIR=$ParaView_DIR/lib/paraview-$ParaView_MAJOR
if [ ! -d $ParaView_LIB_DIR -a -d $ParaView_DIR/lib/paraview-3.0 ]
then
ParaView_LIB_DIR=$ParaView_DIR/lib/paraview-3.0
fi
export PATH=$ParaView_DIR/bin:$PATH
export LD_LIBRARY_PATH=$ParaView_LIB_DIR:$LD_LIBRARY_PATH