summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric BĂ©langer <snowmaniscool@gmail.com>2009-08-12 13:48:34 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-08-12 13:48:34 -0700
commit032febfac460c653729db0dd7c58f3bc7dae434b (patch)
treed01a164c19ee55c624a286f17669d5eeb0362090
parentb5955a0d59e745ded6b9c121afc1523167d8cd42 (diff)
downloaddevtools-032febfac460c653729db0dd7c58f3bc7dae434b.tar.xz
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 <aaronmgriffin@gmail.com>
-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"