index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/return-assignment | 2 |
diff --git a/bin/return-assignment b/bin/return-assignment index 2f60612..888ebbb 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -47,7 +47,7 @@ if [ "$5" = 'ERROR' ]; then fi # shellcheck disable=SC2154 - if ! grep -qxF "${slave}" "${work_dir}/package-states/$1.$2.$3.$4.locked"; then + if [ "${slave}" != "$(head -n1 "${work_dir}/package-states/$1.$2.$3.$4.locked")" ]; then # whoops, this package is built by someone else exit 0 fi |