From 5506f65778637cc9bcf821f32b6abf1e8b5d67b8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 7 Mar 2021 16:43:42 +0100 Subject: bin/return-assignment: the url needs urlencoding, not the name --- bin/return-assignment | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3