index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-10-19 11:19:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-16 14:32:13 +0200 |
commit | 4c6f13e75468300ee33c75c516dc8fe343fa214b (patch) | |
tree | 8d4d52233a062c61fb6cb2ad223495230038b7c3 /makechrootpkg.in | |
parent | beddb49a471d91c95a48b56d23a86d7b65d97837 (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 52e834b..97a6ea4 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -231,7 +231,10 @@ _chrootbuild() { _chrootnamcap() { pacman -S --needed --noconfirm namcap - for pkgfile in /startdir/PKGBUILD /pkgdest/*; do + for pkgfile in /startdir/PKGBUILD /startdir/*.pkg.tar.xz /pkgdest/*; do + if [ ! -f "${pkgfile}" ]; then + continue + fi echo "Checking ${pkgfile##*/}" sudo -u builduser namcap "$pkgfile" 2>&1 | tee "/logdest/${pkgfile##*/}-namcap.log" done |