summaryrefslogtreecommitdiff
path: root/build-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-test.sh')
-rwxr-xr-xbuild-test.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/build-test.sh b/build-test.sh
index 8a09aefc6e..858085f54d 100755
--- a/build-test.sh
+++ b/build-test.sh
@@ -11,12 +11,7 @@ initHostDistroRid()
if [ "$__HostOS" == "Linux" ]; then
if [ -e /etc/redhat-release ]; then
- local redhatRelease=$(</etc/redhat-release)
- if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
- __HostDistroRid="rhel.6-$__HostArch"
- else
- __PortableBuild=1
- fi
+ __PortableBuild=1
elif [ -e /etc/os-release ]; then
source /etc/os-release
if [[ $ID == "alpine" ]]; then