diff options
author | Erich Eckner <git@eckner.net> | 2017-10-27 15:35:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-27 15:35:58 +0200 |
commit | 1c26d16709872f97dfce4615a31e472fa0afb3fb (patch) | |
tree | a71c15adfd6b11f7321d815a526cb00873509ffc /bin/seed-build-list | |
parent | 1dfef01eaa3913ae4281d40c1477a56143509f6b (diff) | |
download | builder-1c26d16709872f97dfce4615a31e472fa0afb3fb.tar.xz |
add shared lock for sanity-check
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-x | bin/seed-build-list | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list index 6b40064..6490015 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -225,8 +225,12 @@ cut -d' ' -f1,4 < \ # Create a lock file for build list. if ${update}; then + # always block if locked exec 9> "${build_list_lock_file}" flock 9 + + exec 8> "${sanity_check_lock_file}" + flock -s 8 fi { |