Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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 | \