summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-10-14 09:35:39 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-10-14 09:35:39 +0200
commit5c6c2d532e3ee8d5e09c57372f4b32df2dccd490 (patch)
treedcf4956ab3e65bf0d3adf942464fc649c0afe002 /makechrootpkg.in
parentb06b9f60109ad152e8a6ce8c20f9266648d9d70f (diff)
downloaddevtools-5c6c2d532e3ee8d5e09c57372f4b32df2dccd490.tar.xz
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.
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
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