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> | 2020-04-08 08:45:46 +0200 |
commit | 939fb0ea94e55981921efacdd9c4b50eac3e7b33 (patch) | |
tree | 030a4f413d5df787a9811e1f744cf5592a65308f | |
parent | 454e6223d73fb4c577fcdc4df58f69acce2a37d7 (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 39a6dc4..1e76c5c 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -228,7 +228,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 |