diff options
author | Erich Eckner <git@eckner.net> | 2018-02-08 17:04:19 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-08 17:04:19 +0100 |
commit | 2f06112371038694b6cac19e7619c8261e7baf1e (patch) | |
tree | 3584a72f3cf5274d360d45ff9535c57ef9992f9f /bin/get-package-updates | |
parent | 6626de14465e6501035a0d5fe642e1cd308151bd (diff) | |
download | builder-2f06112371038694b6cac19e7619c8261e7baf1e.tar.xz |
bin/get-package-updates: reorder pipe
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-x | bin/get-package-updates | 7 |
1 files changed, 3 insertions, 4 deletions
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 | \ |