summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parent435d735e84d57f12c7d75d23a30040e6f67003ad (diff)
downloadbuilder-5506f65778637cc9bcf821f32b6abf1e8b5d67b8.tar.xz
bin/return-assignment: the url needs urlencoding, not the name
Diffstat (limited to 'bin')
-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