diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-30 17:39:36 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-30 17:40:26 +0300 |
commit | 8a07ec582e69ba00fc60306eaff2717b68ae3ba7 (patch) | |
tree | 99195c208560ba32c6a927dd1a67940fb668b5ea | |
parent | 66ec72045f8c25ec9e9710f4d70aed9fb1514df6 (diff) |
Install_deps: Do not take sub-versions '6' numbers of RHEL/CentOS versions as main '6' version.
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index eecbe0812cc..ab8c2254251 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -3454,7 +3454,7 @@ install_RPM() { $SUDO dnf -y update elif [ "$RPM" = "RHEL" ]; then - if [ "`grep '6\.' /etc/redhat-release`" ]; then + if [ "`grep '[^.]6\.' /etc/redhat-release`" ]; then ERROR "Building with GCC 4.4 is not supported!" exit 1 else |