From 2f06112371038694b6cac19e7619c8261e7baf1e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 8 Feb 2018 17:04:19 +0100 Subject: bin/get-package-updates: reorder pipe --- bin/get-package-updates | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index a98c9ee..cfabace 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -376,6 +376,7 @@ done < "${work_dir}/build-list.new" ${mysql_command} --raw --batch | \ sed ' 1d + y/\t/ / ' | \ while read -r a b c d; do printf '%s ' \ @@ -385,10 +386,8 @@ done < "${work_dir}/build-list.new" "$(printf '%s' "${d}" | base64 -d)" | \ sed 's/ /\n/' done | \ - sed ' - y/\t/ / - p - ' + grep -vxF '' | \ + sed 'p' cat "${work_dir}/build-list.new" } | \ sort | \ -- cgit v1.2.3-54-g00ecf