diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | sign-and-upload-all | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 5c6233e38..35d990fb0 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ trunk *.deb .idea build-all-with-docker.lock +sign-and-upload-all.lock 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=$( |