index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-25 18:49:44 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-25 18:49:44 +0100 |
commit | 3d73461f75988701413e7f3d713117482c9d3bbb (patch) | |
tree | 8e586368ef89e67c6934a21bad9c3321c270b8e3 /bin/get-assignment | |
parent | e2511c2fa5ee7ad726d3348c8dc351ad561fd574 (diff) |
-rwxr-xr-x | bin/get-assignment | 4 |
diff --git a/bin/get-assignment b/bin/get-assignment index f755204..82463a8 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -44,7 +44,9 @@ hand_out_assignment() { { # shellcheck disable=SC2154 echo "${slave}" - cat "${work_dir}/package-states/$1.$2.$3.$4.locked" + if [ -r "${work_dir}/package-states/$1.$2.$3.$4.locked" ]; then + cat "${work_dir}/package-states/$1.$2.$3.$4.locked" + fi } | \ sort -u | \ sponge "${work_dir}/package-states/$1.$2.$3.$4.locked" |