Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/prioritize-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-03 14:02:06 +0200
committerErich Eckner <git@eckner.net>2019-05-03 14:02:06 +0200
commitb1166c7aa420a659199b79a1478d2226b4badd96 (patch)
tree7f7f909879ef2dc14cb1f32632c0654142ea8af5 /bin/prioritize-build-list
parent42c24ce12b5e7c9c2aaae10b7836c82cf3f0c1ad (diff)
bin/prioritize-build-list: break items at any space
Diffstat (limited to 'bin/prioritize-build-list')
-rwxr-xr-xbin/prioritize-build-list3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/prioritize-build-list b/bin/prioritize-build-list
index a16bbb2..e9ffeae 100755
--- a/bin/prioritize-build-list
+++ b/bin/prioritize-build-list
@@ -90,7 +90,8 @@ verbose_flock ${wait_for_lock} 8
printf ') AS `all_priorities`'
printf ')'
printf ' WHERE ('
- base64_encode_each < "$1" | \
+ tr '[:space:]' '\n' < "$1" | \
+ base64_encode_each | \
sed '
s/^/`package_sources`.`pkgbase` REGEXP from_base64("/
s/$/") OR /