summaryrefslogtreecommitdiff
path: root/sign-and-upload-all
diff options
context:
space:
mode:
Diffstat (limited to 'sign-and-upload-all')
-rwxr-xr-xsign-and-upload-all5
1 files changed, 5 insertions, 0 deletions
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=$(