diff options
Diffstat (limited to 'src/abslibre-tools/libredbdiff')
-rwxr-xr-x | src/abslibre-tools/libredbdiff | 18 |
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() { |