From 181646d03b43e7bab01d59a807e05e87be1c1a2e Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Mon, 5 Mar 2012 16:28:09 +0100
Subject: [PATCH] makechrootpkg: Install the built packages before running
 namcap to reduce false positives and check inter split package dependencies.

---
 makechrootpkg.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makechrootpkg.in b/makechrootpkg.in
index 166b89b..e06f46c 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -67,7 +67,7 @@ while getopts 'hcudr:I:l:n' arg; do
 		r) passeddir="$OPTARG" ;;
 		I) install_pkg="$OPTARG" ;;
 		l) copy="$OPTARG" ;;
-		n) run_namcap=true ;;
+		n) run_namcap=true; makepkg_args="$makepkg_args -i" ;;
 		*) makepkg_args="$makepkg_args -$arg $OPTARG" ;;
 	esac
 done
-- 
GitLab