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> | 2019-11-30 22:09:39 +0100 |
commit | fc238b9fd936a77d496a59bca734d928c6586beb (patch) | |
tree | 1142f9846ea5a9321ab449d69f9fc290dbb827b4 /makechrootpkg.in | |
parent | 11a5c3e3cb971a7711fabcb3d05fdab3d0adb88f (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 2740f0f..4074e17 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 |