From 032febfac460c653729db0dd7c58f3bc7dae434b Mon Sep 17 00:00:00 2001 From: Eric BĂ©langer Date: Wed, 12 Aug 2009 13:48:34 -0700 Subject: Fix namcap errors and add PKGBUILD [Aaron: swapped 2>&1 >/dev/null to >/dev/null 2>&1 to fix this better] Signed-off-by: Aaron Griffin --- makechrootpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makechrootpkg') 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" -- cgit v1.2.3-70-g09d2