diff options
Diffstat (limited to 'build-packages.sh')
-rwxr-xr-x | build-packages.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build-packages.sh b/build-packages.sh index 838f5bd7f3..f06024e7f6 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -16,11 +16,14 @@ initHostDistroRid() if [ "$__HostOS" == "Linux" ]; then if [ -e /etc/os-release ]; then source /etc/os-release - if [[ $ID == "alpine" || $ID == "rhel" ]]; then + if [[ $ID == "rhel" ]]; then # remove the last version digit VERSION_ID=${VERSION_ID%.*} fi __HostDistroRid="$ID.$VERSION_ID-$__Arch" + if [[ $ID == "alpine" ]]; then + __HostDistroRid="linux-musl-$__Arch" + fi elif [ -e /etc/redhat-release ]; then local redhatRelease=$(</etc/redhat-release) if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then |