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>
This commit is contained in:
parent
b5955a0d59
commit
032febfac4
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue