index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-25 15:39:31 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-25 15:39:31 +0100 |
commit | aae4b0f5b4fae609a9dd2fb11e99d5f1b7965c34 (patch) | |
tree | 8cec98bd6012c2ba2ca13bb0f6c54ef938bf1ddc /bin | |
parent | e8b458299102bc6e7eacc33ca6121b1528f746df (diff) |
-rwxr-xr-x | bin/return-assignment | 6 |
diff --git a/bin/return-assignment b/bin/return-assignment index 582294e..64d16d0 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -49,14 +49,14 @@ if [ "$5" = 'ERROR' ]; then if ! grep -qxF "$1 $2 $3 $4" "${work_dir}/build-list" || ! [ -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ]; then - # too late, package already outdated -> ignore error report + >&2 echo 'Too late, package already outdated, I ignore this error report.' exit 2 fi # shellcheck disable=SC2154 if ! grep -qxF "${slave}" "${work_dir}/package-states/$1.$2.$3.$4.locked"; then - # whoops, this package is not built by this slave - exit 0 + >&2 echo 'You do not build this package - move on.' + exit 2 fi # save sent build logs |