mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: remove PV existence check when not required
This commit is contained in:
@ -70,6 +70,8 @@ export LC_ALL=C
|
||||
# reader extension
|
||||
extension=OpenFOAM
|
||||
|
||||
requirePV=1
|
||||
|
||||
# parse options
|
||||
while [ "$#" -gt 0 ]
|
||||
do
|
||||
@ -97,10 +99,12 @@ do
|
||||
;;
|
||||
-touch)
|
||||
optTouch=true
|
||||
requirePV=0
|
||||
shift
|
||||
;;
|
||||
-touchAll)
|
||||
optTouch=all
|
||||
requirePV=0
|
||||
shift
|
||||
;;
|
||||
--)
|
||||
@ -120,7 +124,7 @@ done
|
||||
#
|
||||
# check that reader module has been built
|
||||
#
|
||||
if [ ! -f $PV_PLUGIN_PATH/libPV3FoamReader_SM.so ]
|
||||
if [ $requirePV -eq 1 -a ! -f $PV_PLUGIN_PATH/libPV3FoamReader_SM.so ]
|
||||
then
|
||||
cat<< BUILDREADER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user