pacman/scripts/libmakepkg/integrity
Eli Schwartz 3d4e95e526 libmakepkg/integrity: fix git signatures not seen with multiple files
In eaa82b4d07 source_has_signature() was
modified to check if git repositories are marked as signed. However, due
to a typo the unused variable $netfile was checked. This worked as long
as the last source element was marked as signed, due to $netfile being
mistakenly set as a global in check_vcs_software(), but usually failed
with multiple sources.

Break this more consistently by properly declaring $netfile as a local
variable in check_vcs_software() which it should be regardless. Fix it
again by completely moving over to $netfile in source_has_signature()
as netfile is more descriptive of the current state.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-01-06 12:40:07 +10:00
..
generate_checksum.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
generate_signature.sh.in makepkg: create signature files outside of fakeroot 2017-05-08 18:53:53 +10:00
verify_checksum.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
verify_signature.sh.in libmakepkg/integrity: fix git signatures not seen with multiple files 2018-01-06 12:40:07 +10:00