diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-12-23 10:57:29 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-24 11:15:38 +1000 |
commit | d2d00e454353d5a420ce3406e9cd011e299d091d (patch) | |
tree | 3f0c66d68a6c06693291fd10ea6af0281603d673 /lib/libalpm | |
parent | c07593c64ce616c768061348865ead2a13248b0f (diff) |
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')
0 files changed, 0 insertions, 0 deletions