Skip to content
Snippets Groups Projects
Commit 2d7e7695 authored by andy's avatar andy
Browse files

ENH: Provide message if ParaView is not installed instead of swallowing the error

parent f410060e
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # run from this directory
set -x #set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then then
...@@ -15,6 +15,8 @@ then ...@@ -15,6 +15,8 @@ then
wmake libso vtkPV3Readers wmake libso vtkPV3Readers
PV3blockMeshReader/Allwmake PV3blockMeshReader/Allwmake
PV3FoamReader/Allwmake PV3FoamReader/Allwmake
else
echo "ERROR: ParaView not found in $ParaView_DIR"
fi fi
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment