summaryrefslogtreecommitdiffstats
path: root/base/server/scripts
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/server/scripts
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/server/scripts')
-rw-r--r--base/server/scripts/operations2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/server/scripts/operations b/base/server/scripts/operations
index 7d026fe31..ebbe5d084 100644
--- a/base/server/scripts/operations
+++ b/base/server/scripts/operations
@@ -56,7 +56,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!