pacman/scripts
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
..
completion Move bash/zsh completion out of contrib 2016-10-10 10:38:05 +10:00
libmakepkg libmakepkg/integrity: fix git signatures not seen with multiple files 2018-01-06 12:40:07 +10:00
library makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
po makepkg: warn about dotfiles in package root 2017-01-04 13:59:14 +10:00
.gitignore makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
Makefile.am makepkg: refactor archive compression for reusability 2017-12-07 15:46:04 +10:00
makepkg-template.pl.in Update copyright years 2017-01-04 13:59:14 +10:00
makepkg.sh.in libmakepkg/integrity: fix git signatures not seen with multiple files 2018-01-06 12:40:07 +10:00
pacman-db-upgrade.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
pacman-key.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
pkgdelta.sh.in Replace @SIZECMD@ with POSIX-compatible command 2017-04-04 12:21:20 +10:00
repo-add.sh.in Replace @SIZECMD@ with POSIX-compatible command 2017-04-04 12:21:20 +10:00
wrapper.sh.in Update copyright years 2017-01-04 13:59:14 +10:00