diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-12-23 16:57:29 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-24 02:15:38 +0100 |
commit | d2d00e454353d5a420ce3406e9cd011e299d091d (patch) | |
tree | 3f0c66d68a6c06693291fd10ea6af0281603d673 /lib/libalpm/handle.h | |
parent | c07593c64ce616c768061348865ead2a13248b0f (diff) | |
download | pacman-d2d00e454353d5a420ce3406e9cd011e299d091d.tar.gz pacman-d2d00e454353d5a420ce3406e9cd011e299d091d.tar.xz |
makepkg: properly correlate checksums for multiple sources
Previously, we used a single boolean value to determine correlation of
sources to checksums. Since the introduction of arch-specific sources,
this is no longer sufficient, as we must ensure that we have checksums
for (potentially) multiple source arrays.
This change inlines the logic of have_sources to build an associative
array of source array names, unsetting them as we discover their
checksums. The error condition then becomes a non-empty correlation
array.
Fixes: https://bugs.archlinux.org/task/43192
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.h')
0 files changed, 0 insertions, 0 deletions