From ae832c564f02b68c9dac5d9abbf82dcca91476c6 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 21 May 2015 08:48:18 +0100 Subject: [PATCH] ParaView4Functions: Corrected for dash Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1701 --- etc/tools/ParaView4Functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "