mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: drop check for paraview versions
- we don't support paraview < 3.x anymore
This commit is contained in:
19
bin/paraFoam
19
bin/paraFoam
@ -168,17 +168,14 @@ builtin | OpenFOAM)
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$ParaView_VERSION" in
|
||||
3* | git)
|
||||
# only create/remove caseFile if it didn't already exist
|
||||
[ -e $caseFile ] || {
|
||||
trap "rm -f $caseFile 2>/dev/null; exit 0" EXIT TERM INT
|
||||
touch "$caseFile"
|
||||
echo "created temporary '$caseFile'"
|
||||
}
|
||||
|
||||
paraview --data="$caseFile"
|
||||
;;
|
||||
# only create/remove caseFile if it didn't already exist
|
||||
[ -e $caseFile ] || {
|
||||
trap "rm -f $caseFile 2>/dev/null; exit 0" EXIT TERM INT
|
||||
touch "$caseFile"
|
||||
echo "created temporary '$caseFile'"
|
||||
}
|
||||
|
||||
paraview --data="$caseFile"
|
||||
|
||||
esac
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user