diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-28 14:55:20 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-28 14:55:20 +0200 |
commit | 74895b1bc6b4c065279717b2a59b0408a8a380d7 (patch) | |
tree | 5373f7e55d07cd6c6b9943a1af8e9d803d4f41a6 | |
parent | 3eb6d15c8952fe41dee264a695caf4d92b310071 (diff) | |
download | archlinuxewe-74895b1bc6b4c065279717b2a59b0408a8a380d7.tar.xz |
bumpVersion: get a lock
-rwxr-xr-x | bumpVersion | 5 |
1 files changed, 5 insertions, 0 deletions
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}" |