From b00aef99e29ff232fc8cdadfcbee77b082738090 Mon Sep 17 00:00:00 2001 From: thron7 Date: Tue, 21 Feb 2017 15:13:02 +0100 Subject: [PATCH] fixed variable name mismatch --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index fe6da68fbc..967c4ee2b5 100755 --- a/build.sh +++ b/build.sh @@ -139,8 +139,8 @@ gcc_version_ok() { if [[ $GCC_MAJOR -lt 4 || ( $GCC_MAJOR -eq 4 && $GCC_MINOR -lt 7 ) - || ( $GCC_MAJOR -eq 4 && $GCC_MINOR -eq 7 && $GCC_THIRD -lt 3 ) - || ( $GCC_MAJOR -eq 4 && $GCC_MINOR -eq 8 && $GCC_THIRD -eq 0 ) + || ( $GCC_MAJOR -eq 4 && $GCC_MINOR -eq 7 && $GCC_PATCH -lt 3 ) + || ( $GCC_MAJOR -eq 4 && $GCC_MINOR -eq 8 && $GCC_PATCH -eq 0 ) ]] ; then echo "gcc version required >= 4.7.3, != 4.8.0, >= 4.8.1, got $GCC_VERSION" return 1 -- 2.34.1