From 1c26d16709872f97dfce4615a31e472fa0afb3fb Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 27 Oct 2017 15:35:58 +0200 Subject: add shared lock for sanity-check --- bin/seed-build-list | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/seed-build-list') 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 { -- cgit v1.2.3-70-g09d2