makechrootpkg: Avoid running namcap on non-package file like signatures

We only use .xz or .gz compression for pacakges so we can be more specific and avoid a match of e.g. *.pkg.tar.xz.sig etc.
This commit is contained in:
Pierre Schmitz 2011-10-14 09:35:39 +02:00
parent b06b9f6010
commit 5c6c2d532e
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ sudo -u nobody makepkg $makepkg_args || touch BUILD_FAILED
if $run_namcap; then
pacman -S --needed --noconfirm namcap
namcap /build/PKGBUILD /pkgdest/*.pkg.tar.* > /build/namcap.log
namcap /build/PKGBUILD /pkgdest/*.pkg.tar.?z > /build/namcap.log
fi
exit 0