[Bf-blender-cvs] [8a07ec582e6] master: Install_deps: Do not take sub-versions '6' numbers of RHEL/CentOS versions as main '6' version.

Bastien Montagne noreply at git.blender.org
Fri Aug 30 16:40:31 CEST 2019


Commit: 8a07ec582e69ba00fc60306eaff2717b68ae3ba7
Author: Bastien Montagne
Date:   Fri Aug 30 16:39:36 2019 +0200
Branches: master
https://developer.blender.org/rB8a07ec582e69ba00fc60306eaff2717b68ae3ba7

Install_deps: Do not take sub-versions '6' numbers of RHEL/CentOS versions as main '6' version.

===================================================================

M	build_files/build_environment/install_deps.sh

===================================================================

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



More information about the Bf-blender-cvs mailing list