index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-10-24 12:24:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-24 12:24:58 +0200 |
commit | 95c434acfb878fb6937ad6ffe2ed201968443de0 (patch) | |
tree | 75b63cec226b451d007e9884ca31297a0c23873b /bin | |
parent | 9af832676971cd9adb60378b1e7c876938fecc04 (diff) |
-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 |