From: Casey Bodley Date: Wed, 10 Aug 2022 20:35:01 +0000 (-0400) Subject: install-deps: update ensure_decent_gcc_on_rh for gcc-toolset X-Git-Tag: v18.0.0~288^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c62970a86de18d3d705cc6a2cc488c6f1c564dc3;p=ceph.git install-deps: update ensure_decent_gcc_on_rh for gcc-toolset Signed-off-by: Casey Bodley --- diff --git a/install-deps.sh b/install-deps.sh index 10d8fa452198..9ca4667ce1b2 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 <