Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4c1bc91

Browse files
committed
Fix non-portable parameters in build-packages.sh script
1 parent e46903c commit 4c1bc91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-packages.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ initHostDistroRid()
1616
if [ "$__HostOS" == "Linux" ]; then
1717
if [ -e /etc/os-release ]; then
1818
source /etc/os-release
19-
__HostDistroRid="$ID.$VERSION_ID-$__HostArch"
19+
__HostDistroRid="$ID.$VERSION_ID-$__Arch"
2020
elif [ -e /etc/redhat-release ]; then
2121
local redhatRelease=$(</etc/redhat-release)
2222
if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
23-
__HostDistroRid="rhel.6-$__HostArch"
23+
__HostDistroRid="rhel.6-$__Arch"
2424
fi
2525
fi
2626
fi
@@ -90,7 +90,7 @@ while :; do
9090
__Arch=$(echo $1| cut -d'=' -f 2)
9191
;;
9292

93-
-PortableBuild=false)
93+
-portablebuild=false)
9494
unprocessedBuildArgs="$unprocessedBuildArgs $1"
9595
__IsPortableBuild=0
9696
;;

0 commit comments

Comments
 (0)