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-02-13 08:19:43 +0100 |
commit | 09c6d3b9a5bbce4bce61b26cb75544e5f4885b50 (patch) | |
tree | f5c2e276f0cd89766dafc3c41ae1836fd1d616c4 /makechrootpkg.in | |
parent | 1434698367d868d9d7fb9261cb1b8626e3ea6683 (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index dfea18c..c2d8cdd 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -225,7 +225,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 |