Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/return-assignment3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index f01e295..6961507 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -47,7 +47,8 @@ trap clean_up_lock_file EXIT
if [ "$5" = 'ERROR' ]; then
# the build failed on the build slave
- if [ ! -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ]; 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
exit 0
fi