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-09-17 22:52:35 +0200 |
commit | 3b8f6a513cec722b581aa56842a17d3af9d0f520 (patch) | |
tree | 04baf7c99773bbd3033f399d035a96bbc16b8359 /makechrootpkg.in | |
parent | 1d00156cb167d0440a711b1befac74f16289241f (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 4b72a36..f606df0 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -237,7 +237,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 |