From 0c40b20303bf716facbeb50d503a70f993c6d2ca Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 10 May 2022 09:11:03 -0400 Subject: Update cryptest.sh script --- TestScripts/cryptest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TestScripts') diff --git a/TestScripts/cryptest.sh b/TestScripts/cryptest.sh index a445574a..5d947bbd 100755 --- a/TestScripts/cryptest.sh +++ b/TestScripts/cryptest.sh @@ -310,7 +310,7 @@ fi # Now that the compiler is fixed, determine the compiler version for fixups CXX_VERSION=$("${CXX}" -v 2>&1) CXX_GCC_VERSION=$("${CXX}" --version 2>&1 | head -n 1 | ${GREP} -i -E '^(gcc|g++)' | ${AWK} '{print $(NF)}') -GCC_4_8=$(echo "${CXX_GCC_VERSION}" | "${GREP}" -i -c -E '^4\.8' <<< "${CXX_GCC_VERSION}") +GCC_4_8=$(echo "${CXX_GCC_VERSION}" | "${GREP}" -i -c -E '^4\.8') GCC_4_8_OR_ABOVE=$(echo "${CXX_GCC_VERSION}" | "${GREP}" -i -c -E '^(4\.[8-9]|[5-9]\.|[1-9][0-9]\.)') GCC_10_0_OR_ABOVE=$(echo "${CXX_GCC_VERSION}" | "${GREP}" -i -c -E '^(1[0-9]\.|[2-9][0-9]\.)') GCC_11_0_OR_ABOVE=$(echo "${CXX_GCC_VERSION}" | "${GREP}" -i -c -E '^(1[1-9]\.|[2-9][0-9]\.)') -- cgit v1.2.1