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:
parent
b06b9f6010
commit
5c6c2d532e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue