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> | 2018-03-24 21:36:35 +0100 |
commit | c79ded528b0e495a1b730ea2ef9155c921afcec3 (patch) | |
tree | a98cd9f0e064eac778c34a7f714e8ea5d78cf8b9 /makechrootpkg.in | |
parent | 82681ecb4f443d8ec333848c9c0388acd43c186a (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 032ffc5..9c3330e 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -235,7 +235,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 |