Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-06 11:35:03 +0100
committerErich Eckner <git@eckner.net>2018-02-06 11:35:03 +0100
commite2ca9121e30856651afef3c6396175dca1f6bd91 (patch)
tree2feb88e6e240913820a451ad1ce690cc196c8efe /bin/return-assignment
parentae5771a8302c7f2d9353911363ffcb3fab14f9ee (diff)
bin/return-assignment: fix whitespace in mysql response
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index aa79554..01a20c8 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -74,7 +74,10 @@ if [ "$5" = 'ERROR' ]; then
printf ' AND `repositories`.`name`="build-list"'
} | \
${mysql_command} --raw --batch | \
- sed '1d'
+ sed '
+ 1d
+ y/\t/ /
+ '
)
if [ -z "${infos}" ]; then
>&2 echo 'You do not build this package (anymore) - move on.'