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-08-20 09:00:03 +0200 |
commit | e86484319cc4c4dac7c7148f428ab1a2a67cffa7 (patch) | |
tree | bd9799bb64ecd08395485edad3c475a1158c6578 /makechrootpkg.in | |
parent | 4b4a02c2851f72ffde21855486746ae6fd84bb29 (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index ce47b93..77247b0 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -248,7 +248,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 |