index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/return-assignment | 23 |
diff --git a/bin/return-assignment b/bin/return-assignment index 75a358d..f97ad7b 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -633,9 +633,9 @@ missing_files=$( if [ -n "${missing_files}" ]; then >&2 echo 'The following packages lack a signature, namcap log, package file or list of needed/provided libraries:' - printf '/j %s Your buildslave "%s" uploaded some incomplete package(s):\n' \ - "${operator}" "${slave}" | \ - sponge "${irc_dir}/in" + printf 'Your buildslave "%s" uploaded some incomplete package(s):\n' \ + "${slave}" | \ + irc_say "${operator}" printf '%s\n' "${missing_files}" | \ irc_say "${operator}" 'copy' >&2 exit 3 @@ -657,9 +657,9 @@ if [ -z "$( uniq -d )" ]; then >&2 echo 'Signature(s) is/are not fully trusted:' - printf '/j %s Your buildslave "%s" uploaded a package with a not fully-trusted signature:\n' \ - "${operator}" "${slave}" | \ - sponge "${irc_dir}/in" + printf 'Your buildslave "%s" uploaded a package with a not fully-trusted signature:\n' \ + "${slave}" | \ + irc_say "${operator}" printf '%s\n' "${signatures}" | \ irc_say "${operator}" 'copy' >&2 exit 3 @@ -678,9 +678,9 @@ errors=$( ) if [ -n "${errors}" ]; then >&2 echo 'Packager error(s):' - printf '/j %s Your buildslave "%s" uploaded package(s) with invalid packager:\n' \ - "${operator}" "${slave}" | \ - sponge "${irc_dir}/in" + printf 'Your buildslave "%s" uploaded package(s) with invalid packager:\n' \ + "${slave}" | \ + irc_say "${operator}" printf '%s\n' "${errors}" | \ irc_say "${operator}" 'copy' >&2 exit 3 @@ -733,10 +733,7 @@ if [ -n "${package_errors}" ]; then "${slave}" printf '%s\n' "${package_errors}" } | \ - sed ' - s@^@/j '"${operator}"' @ - ' | \ - sponge "${irc_dir}/in" + irc_say "${operator}" exit 4 fi |