From 2e2909686735ceb62f6b64972b3f30f7005e26aa Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Wed, 5 Feb 2014 17:54:17 +0100 Subject: Use HW instead of processor name as build arch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Michal Žídek --- contrib/fedora/bashrc_sssd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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}) -- cgit