Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/return-assignment6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index b8c6cca..5b26ef6 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -67,10 +67,10 @@ if [ "$5" = 'ERROR' ]; then
--transform="s|^|$1.$2.$3.$4.|" \
'*.build-log.gz'
- if [ ! -f "${work_dir}/package-states/$1.$2.$3.$4.broken" ]; then
- was_broken_before=false
- else
+ if [ -f "${work_dir}/package-states/$1.$2.$3.$4.broken" ]; then
was_broken_before=true
+ else
+ was_broken_before=false
fi
# shellcheck disable=SC2154