summaryrefslogtreecommitdiff
path: root/src/abslibre-tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools')
-rwxr-xr-xsrc/abslibre-tools/libredbdiff4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/abslibre-tools/libredbdiff b/src/abslibre-tools/libredbdiff
index 50bc78f..924b9f4 100755
--- a/src/abslibre-tools/libredbdiff
+++ b/src/abslibre-tools/libredbdiff
@@ -181,7 +181,9 @@ compare_pkgs() {
"${verarch[$pkgname]}"
fi
elif [[ ${provides[$pkgname]} ]]; then
- for provide in "${provides[$pkgname]}"; do
+ local _provides provide
+ read -r -a _provides <<<"${provides[$pkgname]}"
+ for provide in "${_provides[@]}"; do
if [[ ${verarch["$provide"]} ]]; then
cmp=$(vercmp "${ver[$pkgname]}" "${verarch[$provide]}")
if [[ $cmp -lt 0 ]]; then