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-10-09 14:13:09 +0200 |
commit | 3d55c892675160fed9c44c0c1106bf73078ea88a (patch) | |
tree | f67ed9ee4dd14db71361d091e071982e69032957 /makechrootpkg.in | |
parent | f23d1d716bcd0774ee52110c0830a2a1226aa079 (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index f5a0e51..004b99b 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -243,7 +243,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 |