index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-01-11 10:08:26 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-11 10:08:26 +0100 |
commit | 02fb70ff1a82886f9e22dcb3790d4ea585e36f0b (patch) | |
tree | 47d04d94576196e233145f3014ddad97f0f9d53f /bin | |
parent | 8ec4ef868a0ff4cdf274d4f41bab145fa90a0db7 (diff) |
-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 |