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

Commit

Permalink
Fix non-portable parameters in build-packages.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard committed Aug 14, 2017
1 parent e46903c commit 4c1bc91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ initHostDistroRid()
if [ "$__HostOS" == "Linux" ]; then
if [ -e /etc/os-release ]; then
source /etc/os-release
__HostDistroRid="$ID.$VERSION_ID-$__HostArch"
__HostDistroRid="$ID.$VERSION_ID-$__Arch"
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
__HostDistroRid="rhel.6-$__HostArch"
__HostDistroRid="rhel.6-$__Arch"
fi
fi
fi
Expand Down Expand Up @@ -90,7 +90,7 @@ while :; do
__Arch=$(echo $1| cut -d'=' -f 2)
;;

-PortableBuild=false)
-portablebuild=false)
unprocessedBuildArgs="$unprocessedBuildArgs $1"
__IsPortableBuild=0
;;
Expand Down

0 comments on commit 4c1bc91

Please sign in to comment.