summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>2014-02-05 17:54:17 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-02-20 16:57:49 +0100
commit2e2909686735ceb62f6b64972b3f30f7005e26aa (patch)
tree47bfc77304259bc375ab04ae067d1f52923882e4 /contrib
parent01e942850486c7651bf1de58141e7ccbc9f4c706 (diff)
downloadsssd-2e2909686735ceb62f6b64972b3f30f7005e26aa.tar.gz
sssd-2e2909686735ceb62f6b64972b3f30f7005e26aa.tar.xz
sssd-2e2909686735ceb62f6b64972b3f30f7005e26aa.zip
Use HW instead of processor name as build arch
Use "machine hardware name" instead of "processor name" as the build architecture in bashrc_sssd. This fixes determining architecture on systems where "processor name" is not available and is reported by uname(1) as "unknown", e.g. Debian. Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> Reviewed-by: Michal Žídek <mzidek@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fedora/bashrc_sssd2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fedora/bashrc_sssd b/contrib/fedora/bashrc_sssd
index ccad5ddd1..e6bdf175a 100644
--- a/contrib/fedora/bashrc_sssd
+++ b/contrib/fedora/bashrc_sssd
@@ -4,7 +4,7 @@
# fi
# Determine the architecture of the platform we're running on
-SSS_ARCH=$(uname -p)
+SSS_ARCH=$(uname -m)
# Determine the lib and libdir locations
SSS_LIB=$(rpm --eval %{_lib})