Commit 04e79e71 authored by Biru Ionut's avatar Biru Ionut Committed by Aaron Griffin
Browse files

makechrootpkg: namcap path fix



Run namcap on the full path including /pkgdest/

Signed-off-by: default avatarAaron Griffin <aaronmgriffin@gmail.com>
parent 360fcd2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -215,7 +215,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 *${PKGEXT} > /pkgdest/namcap.log
which namcap 2>&1 >/dev/null && namcap /pkgdest/*${PKGEXT} > /pkgdest/namcap.log
exit 0
EOF
) > "$uniondir/chrootbuild"