index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-01-03 15:44:01 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-03 15:44:01 +0100 |
commit | 73977f79b43cde3162e36c175df627c1f228dc51 (patch) | |
tree | f6a476a87109c59dfc29e3d81c87f940ba8a62cc /bin/return-assignment | |
parent | 1feca7e5466dec92bba8ffb088aef21c07e1a4bc (diff) |
-rwxr-xr-x | bin/return-assignment | 8 |
diff --git a/bin/return-assignment b/bin/return-assignment index 0b5f63d..c26a71b 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -67,6 +67,14 @@ if [ "$5" = 'ERROR' ]; then --transform="s|^|$1.$2.$3.$4.|" \ '*.build-log.gz' + if [ ! -f "${work_dir}/package-states/$1.$2.$3.$4.broken" ] && \ + [ -p "${irc_dir}/#archlinux-ports/in" ]; then + printf '%s is broken (says %s).\n' \ + "$1" \ + "${slave}" > \ + "${irc_dir}/#archlinux-ports/in" + fi + # shellcheck disable=SC2154 echo "${slave}" >> \ "${work_dir}/package-states/$1.$2.$3.$4.broken" |