From 2284dab8874b7ca73e0a93a65aa6d37cdc75bfd6 Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Wed, 16 Mar 2016 09:24:25 +0000
Subject: [PATCH] paraFoam: Updated instructions to build the reader modules
 Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2027

---
 bin/paraFoam | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/bin/paraFoam b/bin/paraFoam
index 0a6c152e642..84b82ecdbf8 100755
--- a/bin/paraFoam
+++ b/bin/paraFoam
@@ -121,9 +121,6 @@ do
     esac
 done
 
-# Get the ParaView major version to select the appropriate readers
-version=`echo $ParaView_VERSION | sed -e 's/^\([0-9][0-9]*\).*$/\1/'`
-
 # Check that reader module has been built
 if [ $requirePV -eq 1 -a ! -f $PV_PLUGIN_PATH/libPVFoamReader_SM.so ]
 then
@@ -132,7 +129,7 @@ then
 FATAL ERROR: ParaView reader module libraries do not exist
 
 Please build the reader module before continuing:
-cd \$FOAM_UTILITIES/postProcessing/graphics/PV${version}Readers
+cd \$FOAM_UTILITIES/postProcessing/graphics/PVReaders
 ./Allwclean
 ./Allwmake
 
-- 
GitLab