X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;h=9bc417b7bb91918fa45594847bb7d42220cda979;hb=3b78cbdd9c802b3460b2ba574bf633bb0b12215f;hp=f76fb95836f3058734953db4bd8f337fe407ab79;hpb=3d724aecf9c7b5aa869d3714bf1648a82f722cbc;p=dak.git diff --git a/config/debian/common b/config/debian/common index f76fb958..9bc417b7 100644 --- a/config/debian/common +++ b/config/debian/common @@ -57,7 +57,6 @@ function acceptnew () { mv --target-directory="${accepted}" "${NAME}" else log_error "Error, couldn't find file ${NAME} to move to ${accepted}" - exit 2 fi done mv --target-directory="${accepted}" "${file}" "${file%%.changes}.dak" @@ -71,9 +70,10 @@ function do_unchecked () { changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs) report=$queuedir/REPORT timestamp=$(date "+%Y-%m-%d %H:%M") + UNCHECKED_WITHOUT_LOCK=${UNCHECKED_WITHOUT_LOCK:-""} echo "$timestamp": ${changes:-"Nothing to do"} >> $report - dak process-unchecked -a -d "$unchecked" >> $report + dak process-unchecked -a ${UNCHECKED_WITHOUT_LOCK} -d "$unchecked" >> $report } function sync_debbugs () {