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-05-16 16:39:44 +0200 |
commit | fab8b13b172863ef8be43c957d1ffaa33b92253b (patch) | |
tree | 9cecd0b11011bb471fbb6bb4a7bd717170b0c453 /makechrootpkg.in | |
parent | e4aafd20dfff71c41b46c86b88d0bb0090e24d89 (diff) |
-rw-r--r-- | makechrootpkg.in | 5 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index c451443..7235921 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -236,7 +236,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 |