diff --git a/etc/tools/ParaViewFunctions b/etc/tools/ParaViewFunctions index ff6f1283..21fe264e 100644 --- a/etc/tools/ParaViewFunctions +++ b/etc/tools/ParaViewFunctions @@ -172,14 +172,12 @@ checkVersion() # addCMakeVariable() { - while [ -n "$1" ] + for var in $* do - CMAKE_VARIABLES="$CMAKE_VARIABLES -D$1" - shift + CMAKE_VARIABLES="$CMAKE_VARIABLES -D$var" done } - # # Verbose makefiles #