From 74895b1bc6b4c065279717b2a59b0408a8a380d7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 28 Jul 2024 14:55:20 +0200 Subject: bumpVersion: get a lock --- bumpVersion | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bumpVersion') diff --git a/bumpVersion b/bumpVersion index 53ab8693c..5e80ce88b 100755 --- a/bumpVersion +++ b/bumpVersion @@ -117,6 +117,11 @@ if [ -z "${remVer}" ]; then exit 0 fi +exec 9> "build.lock" +printf 'getting lock for bumpVersion %s\n' "$(pwd)" +flock 9 +printf 'got lock for bumpVersion %s\n' "$(pwd)" + # Wir misbrauchen bumpPkgrel um _pinned_dependencies zu aktualisieren. # $pkgrel wird nachher ohnehin wieder auf 1 gesetzt. "${myDir}/bumpPkgrel" -n -p "${provided}" "${paket}" -- cgit v1.2.3-70-g09d2