mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: apps/paraview/bashrc trashed argument list
This commit is contained in:
@ -56,6 +56,8 @@ export ParaView_MAJOR=detect
|
|||||||
|
|
||||||
|
|
||||||
# Evaluate command-line parameters for ParaView
|
# Evaluate command-line parameters for ParaView
|
||||||
|
_foamParaviewEval()
|
||||||
|
{
|
||||||
while [ $# -gt 0 ]
|
while [ $# -gt 0 ]
|
||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -66,6 +68,10 @@ do
|
|||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# Evaluate command-line parameters
|
||||||
|
_foamParaviewEval $@
|
||||||
|
|
||||||
|
|
||||||
# set MAJOR version to correspond to VERSION
|
# set MAJOR version to correspond to VERSION
|
||||||
@ -108,6 +114,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
unset _foamParaviewEval
|
||||||
unset cleaned cmake paraviewInstDir paraviewPython
|
unset cleaned cmake paraviewInstDir paraviewPython
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user