index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2023-06-11 18:32:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-06-11 18:32:44 +0200 |
commit | 60fd162d7b33a33a9c4c1a22a3b2a1f9298327e1 (patch) | |
tree | 06545aafb53d2b7d346d42e55cfcc6bdb9422579 /bin/build-packages | |
parent | 9665eb96a1fa29af67bc63afa6be2fc579882a5f (diff) |
-rwxr-xr-x | bin/build-packages | 6 |
diff --git a/bin/build-packages b/bin/build-packages index 70f785a..7a5a541 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -360,14 +360,14 @@ while [ "${count}" -ne 0 ] && \ cd "${tmp_dir}" echo 'nothing' > "${tmp_dir}/.ping-build-master" if [ -z "${forced_package}" ]; then - # we get a lock on "${work_dir}/ping-build-master.lock", + # we get a lock on "${tmp_dir}/ping-build-master.lock", # if we release that lock, ping-to-master should stop _immediately_ - exec 9> "${work_dir}/ping-build-master.lock" + exec 9> "${tmp_dir}/ping-build-master.lock" if ! verbose_flock -n 9; then >&2 echo 'ERROR: Cannot lock ping-to-master - this should not happen.' exit 2 fi - "${base_dir}/bin/ping-to-master" "$$" "${tmp_dir}" "${work_dir}/ping-build-master.lock" & + "${base_dir}/bin/ping-to-master" "$$" "${tmp_dir}" "${tmp_dir}/ping-build-master.lock" & fi success=false |