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-19 09:39:54 +0100 |
commit | 4a3b082e7ced88624b13d372a619ca0adb3c082a (patch) | |
tree | bbfa578e1b653c0fa80b48634c6cbc00a91123ee /makechrootpkg.in | |
parent | 49d5b6449453d21e7094b41dee496421fb9c0204 (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 56830e2..3fc0262 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 |