index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/return-assignment | 6 |
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 |