From aa166d81abc3be5eb8949cc309755a22c0581c5e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 28 Sep 2022 13:59:58 +0200 Subject: bin/check-mirrors: use lock file to only run once without parameters at the same time --- lib/load-configuration | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/load-configuration b/lib/load-configuration index 4c825f1..903d65f 100755 --- a/lib/load-configuration +++ b/lib/load-configuration @@ -166,6 +166,10 @@ if [ -z "${build_list_lock_file}" ]; then build_list_lock_file="${work_dir}/build-list.lock" fi +if [ -z "${check_mirrors_lock_file}" ]; then + check_mirrors_lock_file="${work_dir}/check-mirrors.lock" +fi + if [ -z "${harvest_commit_times_lock_file}" ]; then harvest_commit_times_lock_file="${work_dir}/harvest-commit-times.lock" fi -- cgit v1.2.3-54-g00ecf