Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-07 16:43:42 +0100
committerErich Eckner <git@eckner.net>2021-03-07 16:43:42 +0100
commit5506f65778637cc9bcf821f32b6abf1e8b5d67b8 (patch)
tree606b287e14ea6ecb62c70fc2be225c2c242e7661
parent435d735e84d57f12c7d75d23a30040e6f67003ad (diff)
bin/return-assignment: the url needs urlencoding, not the name
-rwxr-xr-xbin/return-assignment10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index b512230..05603ec 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -532,10 +532,7 @@ if [ "$6" = 'ERROR' ]; then
{
printf '%s/%s ' \
"${build_assignment_architecture}" \
- "$1" \
- | sed '
- s/[+]/%2B/g
- '
+ "$1"
if [ "${1%s}s" = "$1" ]; then
printf 'are'
else
@@ -562,7 +559,10 @@ if [ "$6" = 'ERROR' ]; then
fi
printf ': https://archlinux32.org/buildmaster/build-log.php?a=%s&p=%s\n' \
"${build_assignment_architecture}" \
- "$1"
+ "$1" \
+ | sed '
+ s/[+]/%2B/g
+ '
} | \
irc_say
fi