Commit 5c6c2d53 authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

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.
parent b06b9f60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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