diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2015-05-29 12:17:31 -0600 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2015-06-11 15:29:34 -0600 |
commit | 8da79f75c9041b6391f7e100b690e4297c356d0a (patch) | |
tree | 50a25b0afde0caecbeeb4c4202a9b3dd89d883a7 /scripts | |
parent | d8ce02c30834982946af80383426186b7f3a04ae (diff) | |
download | pki-8da79f75c9041b6391f7e100b690e4297c356d0a.tar.gz pki-8da79f75c9041b6391f7e100b690e4297c356d0a.tar.xz pki-8da79f75c9041b6391f7e100b690e4297c356d0a.zip |
Remove x86 architecture limitations
- PKI Trac Ticket #1392 - Remove i686/x86_64 architecture
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/compose_functions | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/scripts/compose_functions b/scripts/compose_functions index 75eee8911..14dd96572 100644 --- a/scripts/compose_functions +++ b/scripts/compose_functions @@ -8,23 +8,13 @@ if [ "${OS}" != "Linux" ] ; then exit 255 fi -PLATFORM=`uname -p` -if [ "${PLATFORM}" = "i686" ] ; then - ARCHITECTURE="32-bit" -elif [ "${PLATFORM}" = "x86_64" ] ; then - ARCHITECTURE="64-bit" -else - printf "'$0' is ONLY available on 'i686' or 'x86_64' platforms!\n" - exit 255 -fi - if [ -f "/etc/redhat-release" ] ; then DISTRIBUTION=`cat /etc/redhat-release | cut -c1-7` DIST_VERSION=`cat /etc/redhat-release | tr -d [:alpha:][:blank:][\(\)]` if [ "${DISTRIBUTION}" = "Fedora " ] ; then - MESSAGE="[built for ${ARCHITECTURE} Fedora ${DIST_VERSION}]" + MESSAGE="[built for Fedora ${DIST_VERSION}]" elif [ "${DISTRIBUTION}" = "Red Hat" ] ; then - MESSAGE="[built for ${ARCHITECTURE} Red Hat ${DIST_VERSION}]" + MESSAGE="[built for Red Hat ${DIST_VERSION}]" else printf "'$0' is ONLY available on 'Fedora' or 'Red Hat' " printf "distributions!\n" |