summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakechrootpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 7ac67d1..6785dbd 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -220,7 +220,7 @@ cd /build
export HOME=/build
sudo -u nobody makepkg $MAKEPKG_ARGS || touch BUILD_FAILED
[ -f BUILD_FAILED ] && exit 1
-which namcap 2>&1 >/dev/null && namcap /pkgdest/*${PKGEXT} > /pkgdest/namcap.log
+which namcap >/dev/null 2>&1 && namcap /build/PKGBUILD /pkgdest/*${PKGEXT} > /pkgdest/namcap.log
exit 0
EOF
) > "$uniondir/chrootbuild"