From c62970a86de18d3d705cc6a2cc488c6f1c564dc3 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 10 Aug 2022 16:35:01 -0400 Subject: [PATCH] install-deps: update ensure_decent_gcc_on_rh for gcc-toolset Signed-off-by: Casey Bodley --- install-deps.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/install-deps.sh b/install-deps.sh index 10d8fa45219..9ca4667ce1b 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -234,25 +234,22 @@ function version_lt { function ensure_decent_gcc_on_rh { local old=$(gcc -dumpversion) - local expected=10.2 local dts_ver=$1 - if version_lt $old $expected; then + if version_lt $old $dts_ver; then if test -t 1; then # interactive shell cat <