From 5c6c2d532e3ee8d5e09c57372f4b32df2dccd490 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 14 Oct 2011 09:35:39 +0200 Subject: 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. --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index 43acc3f..9794132 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -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 -- cgit v1.2.3-70-g09d2