summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/libredbdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/libredbdiff')
-rwxr-xr-xsrc/abslibre-tools/libredbdiff18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/abslibre-tools/libredbdiff b/src/abslibre-tools/libredbdiff
index badb69e..4d7fca2 100755
--- a/src/abslibre-tools/libredbdiff
+++ b/src/abslibre-tools/libredbdiff
@@ -201,15 +201,15 @@ compare_pkgs() {
# - provides
print_cmp() {
local repo="$1"
- awk -F/ -v repo="$repo" \
- '$1 == repo {print $2}' \
- "$prbl_packages_tmp" | \
- while read -a line ; do
- ver_prbl["${line[0]}"]="${line[1]}"
- provides["${line[0]}"]="${line[*]:2}"
- pkgname="${line[0]}"
- compare_pkgs
- done
+
+ < "$prbl_packages_tmp" \
+ awk -F/ -v repo="$repo" '$1 == repo {print $2}' |
+ while read -a line ; do
+ ver_prbl["${line[0]}"]="${line[1]}"
+ provides["${line[0]}"]="${line[*]:2}"
+ pkgname="${line[0]}"
+ compare_pkgs
+ done
}
usage() {