]> gitweb.factorcode.org Git - factor.git/commitdiff
fixed variable name mismatch
authorthron7 <thron7@users.sourceforge.net>
Tue, 21 Feb 2017 14:13:02 +0000 (15:13 +0100)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 21 Feb 2017 18:16:59 +0000 (10:16 -0800)
build.sh

index fe6da68fbc78fc510d35b9a121b89f0879e06096..967c4ee2b5fe469d0b6bbc0340a780a620c938cb 100755 (executable)
--- 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