Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-08-30 17:39:36 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-08-30 17:40:26 +0300
commit8a07ec582e69ba00fc60306eaff2717b68ae3ba7 (patch)
tree99195c208560ba32c6a927dd1a67940fb668b5ea /build_files
parent66ec72045f8c25ec9e9710f4d70aed9fb1514df6 (diff)
Install_deps: Do not take sub-versions '6' numbers of RHEL/CentOS versions as main '6' version.
Diffstat (limited to 'build_files')
-rwxr-xr-xbuild_files/build_environment/install_deps.sh2
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