summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 7e3f5bfcb8..a0b1742eff 100755
--- a/build.sh
+++ b/build.sh
@@ -80,6 +80,9 @@ initHostDistroRid()
if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
__HostDistroRid="rhel.6-$__HostArch"
fi
+ if [[ $redhatRelease == "CentOS Linux release 7."* ]]; then
+ __HostDistroRid="rhel.7-$__Arch"
+ fi
fi
fi
if [ "$__HostOS" == "FreeBSD" ]; then