From dc507b8c7d39229e850c6355c4f6f8ba350c425b Mon Sep 17 00:00:00 2001
From: andy <a.heather@opencfd.co.uk>
Date: Wed, 13 Jan 2010 10:50:32 +0000
Subject: [PATCH] Relocated paraview PV_PLUGIN_PATH environment variable

- moved to $FOAM_LIBBIN/paraview so that built libraries sit in their
  own folder - avoids PV error msgs on start-up when it tries to load
  all libs under the $PV_PLUGIN_PATH
---
 etc/apps/paraview3/bashrc | 2 +-
 etc/apps/paraview3/cshrc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/apps/paraview3/bashrc b/etc/apps/paraview3/bashrc
index 7209dc0da83..bbeb6c0ebda 100644
--- a/etc/apps/paraview3/bashrc
+++ b/etc/apps/paraview3/bashrc
@@ -68,7 +68,7 @@ fi
 if [ -r $ParaView_DIR ]
 then
     export PATH=$ParaView_DIR/bin:$PATH
-    export PV_PLUGIN_PATH=$FOAM_LIBBIN
+    export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview
 fi
 
 unset cmake ParaView_PYTHON_DIR
diff --git a/etc/apps/paraview3/cshrc b/etc/apps/paraview3/cshrc
index 9160edf0f89..33c863215ec 100644
--- a/etc/apps/paraview3/cshrc
+++ b/etc/apps/paraview3/cshrc
@@ -62,7 +62,7 @@ endif
 
 if ( -r $ParaView_INST_DIR ) then
     set path=($ParaView_DIR/bin $path)
-    setenv PV_PLUGIN_PATH $FOAM_LIBBIN
+    setenv PV_PLUGIN_PATH $FOAM_LIBBIN/paraview
 endif
 
 unset cmake paraviewMajor paraviewPython
-- 
GitLab