diff --git a/etc/tools/ParaView4Functions b/etc/tools/ParaView4Functions index 6b7779b..04323da 100644 --- a/etc/tools/ParaView4Functions +++ b/etc/tools/ParaView4Functions @@ -325,7 +325,7 @@ addQtSupport() QtMajor=$1 QtMinor=$2 - if [[ ($QtMajor -lt 4) || ($QtMajor -eq 4 && $QtMinor -lt 5) ]] + if [ $QtMajor -lt 4 ] || [ $QtMajor -eq 4 -a $QtMinor -lt 5 ] then echo "*** Error: Qt version provided < 4.5" echo "*** Please use the -qmake option to specify the location of a version of Qt >= 4.5 "