Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-08 17:04:19 +0100
committerErich Eckner <git@eckner.net>2018-02-08 17:04:19 +0100
commit2f06112371038694b6cac19e7619c8261e7baf1e (patch)
tree3584a72f3cf5274d360d45ff9535c57ef9992f9f /bin
parent6626de14465e6501035a0d5fe642e1cd308151bd (diff)
bin/get-package-updates: reorder pipe
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates7
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 | \