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> | 2017-10-19 11:19:03 +0200 |
commit | 46885845319eb714c815ac274e0aa5c03b49e5ad (patch) | |
tree | 322d7a5cce57d0bee2c1aba9f9d3db939a62a618 /makechrootpkg.in | |
parent | 3eadb2f54b19b1141544f0a449eb2649eced044a (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index d9686e9..6d17d0d 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -260,7 +260,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 |