Verified Commit 727e2bdb authored by Ansgar's avatar Ansgar

[workaround] release LOCK_DAILY in do_buildd

344e2acb calls do_unchecked in a
subshell which makes the modification to TMPFILES not persistent.

This workaround removes the lock in do_buildd, but doesn't properly
handle abnormal termination.
parent b40f693b
......@@ -255,9 +255,10 @@ function get_archiveroot() {
# Prepare the trees for buildds, then push wanna-build
function do_buildd() {
if lockfile -r3 ${LOCK_DAILY}; then
TMPFILES="${TMPFILES} ${LOCK_DAILY}"
#TMPFILES="${TMPFILES} ${LOCK_DAILY}"
make_buildd_dir
wbtrigger
rm -f -- "${LOCK_DAILY}"
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment