From 0aec334fd23768f7c43d3210064711f441156013 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 25 Jun 2024 14:09:57 +0200 Subject: sign-and-upload-all: add lock --- sign-and-upload-all | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sign-and-upload-all') diff --git a/sign-and-upload-all b/sign-and-upload-all index 02cf1265a..fe202a333 100755 --- a/sign-and-upload-all +++ b/sign-and-upload-all @@ -2,6 +2,11 @@ cd "$(dirname "$(readlink -e "$0")")" +exec 9> sign-and-upload-all.lock +if ! flock -n 9; then + >&2 echo 'another sign-and-upload-all still holds the lock' + exit 1 +fi for distro in arch artix; do upkgs=$( -- cgit v1.2.3-70-g09d2