From 131185f5beb6df1075cecb0f8d0a13bb83e4e1d9 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 26 Aug 2010 16:17:53 +0100 Subject: [PATCH] COMP: added checking on PV_PLUGIN_PATH --- .../utilities/postProcessing/graphics/PV3Readers/Allwmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake b/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake index 82a07df11f..1e2ebd6c43 100755 --- a/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake +++ b/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake @@ -6,6 +6,13 @@ if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] then case "$ParaView_VERSION" in 3* | git) + + if [ ! -d "${PV_PLUGIN_PATH}" ] + then + echo "$0 : PV_PLUGIN_PATH not a valid directory." + exit 1 + fi + wmake libso vtkPV3Readers PV3blockMeshReader/Allwmake PV3FoamReader/Allwmake