summaryrefslogtreecommitdiffstats
path: root/base/setup/scripts/functions
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2014-01-03 11:41:02 -0500
committerAde Lee <alee@redhat.com>2014-01-08 17:35:00 -0500
commitcc831a6be57a868cd36d15335eb0f65e77779c55 (patch)
tree623327b4a933ad8fe004dc59fc678e12a8001e95 /base/setup/scripts/functions
parent68819722a5d08e6e6eea29846e879cc7ab65eb44 (diff)
downloadpki-cc831a6be57a868cd36d15335eb0f65e77779c55.tar.gz
pki-cc831a6be57a868cd36d15335eb0f65e77779c55.tar.xz
pki-cc831a6be57a868cd36d15335eb0f65e77779c55.zip
Debian - replace arch specification
uname -i returns "unknown" on a debian system. "arch" on the other hand works for fedora, rhel and debian. Replacing these for all packages except for the migration ones which will not be built on debian in any case.
Diffstat (limited to 'base/setup/scripts/functions')
-rw-r--r--base/setup/scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/setup/scripts/functions b/base/setup/scripts/functions
index 45e6dee12..96722a1ee 100644
--- a/base/setup/scripts/functions
+++ b/base/setup/scripts/functions
@@ -62,7 +62,7 @@ esac
shopt -s nullglob
OS=`uname -s`
-ARCHITECTURE=`uname -i`
+ARCHITECTURE=`arch`
# Check to insure that this script's original invocation directory
# has not been deleted!