aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec-helper2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec-helper b/spec-helper
index d21cdd6..24a00a8 100755
--- a/spec-helper
+++ b/spec-helper
@@ -71,7 +71,7 @@ if test -z "$DONT_FIX_PAMD_CONFIGS"; then
if [ -n "$configs" ]; then
echo -n "Fixing pam.d config files..."
lib64=
- case `arch` in
+ case $RPM_ARCH in
x86_64* | sparc64* | ppc64* ) lib64=yes;;
esac
test -n "$lib64" && perl -pi -e "s|/lib/security|/lib64/security|" $configs