summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconf/master.conf.example3
-rwxr-xr-xlib/load-configuration8
2 files changed, 8 insertions, 3 deletions
diff --git a/conf/master.conf.example b/conf/master.conf.example
index 2eafb88..1623307 100755
--- a/conf/master.conf.example
+++ b/conf/master.conf.example
@@ -35,8 +35,9 @@
#mysql_command='mysql buildmaster'
#build_list_lock_file="${work_dir}/build-list.lock"
-#sanity_check_lock_file="${work_dir}/sanity-check.lock"
#package_database_lock_file="${work_dir}/package-database.lock"
+#sanity_check_lock_file="${work_dir}/sanity-check.lock"
+#status_lock_file="${work_dir}/status.lock"
# how long should packages be in [community-testing]/[testing] before
# automatically being marked as tested
diff --git a/lib/load-configuration b/lib/load-configuration
index 6a94976..0100bd9 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -136,12 +136,16 @@ if [ -z "${build_list_lock_file}" ]; then
build_list_lock_file="${work_dir}/build-list.lock"
fi
+if [ -z "${package_database_lock_file}" ]; then
+ package_database_lock_file="${work_dir}/package-database.lock"
+fi
+
if [ -z "${sanity_check_lock_file}" ]; then
sanity_check_lock_file="${work_dir}/sanity-check.lock"
fi
-if [ -z "${package_database_lock_file}" ]; then
- package_database_lock_file="${work_dir}/package-database.lock"
+if [ -z "${status_lock_file}" ]; then
+ status_lock_file="${work_dir}/status.lock"
fi
mkdir -p "${work_dir}"