Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/seed-build-list
diff options
context:
space:
mode:
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-xbin/seed-build-list4
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
{