From d11ffce6686f28d6cdab71c4c81d6e8ea55769a2 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 9 Jul 2015 11:36:51 -0600 Subject: [PATCH] Fix linux_audit setting on non-multiarch Debian. --- mkpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkpkg b/mkpkg index 05d402ed8..8d5aeb501 100755 --- a/mkpkg +++ b/mkpkg @@ -223,7 +223,7 @@ case "$osversion" in --with-linux-audit $configure_opts" # Use correct libaudit dependency - linux_audit=`dpkg-query -S /lib/$MULTIARCH/libaudit.so.[0-9]* | sed -e 's/:.*//' -e q` + linux_audit=`dpkg-query -S /lib/${MULTIARCH}${MULTIARCH:+/}libaudit.so.[0-9]* | sed -e 's/:.*//' -e q` PPVARS="${PPVARS}${PPVARS+$space}linux_audit=$linux_audit" ;; macos*) -- 2.40.0