X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;h=f76fb95836f3058734953db4bd8f337fe407ab79;hb=3d724aecf9c7b5aa869d3714bf1648a82f722cbc;hp=090f2ab7376eaa9186edf5bc7c69ed3a6969f4f6;hpb=9e8a49aac094ee37db8abf38e46a42d7135437de;p=dak.git diff --git a/config/debian/common b/config/debian/common index 090f2ab7..f76fb958 100644 --- a/config/debian/common +++ b/config/debian/common @@ -72,13 +72,13 @@ function do_unchecked () { report=$queuedir/REPORT timestamp=$(date "+%Y-%m-%d %H:%M") - echo "$timestamp": "$changes" >> $report + echo "$timestamp": ${changes:-"Nothing to do"} >> $report dak process-unchecked -a -d "$unchecked" >> $report - echo "--" >> $report } function sync_debbugs () { # sync with debbugs + echo "--" >> $report rsync -aq -e "ssh -o Batchmode=yes -o ConnectTimeout=30 -o SetupTimeout=30" --remove-source-files $queuedir/bts_version_track/ bugs-sync:/org/bugs.debian.org/versions/queue/ftp-master/ 2>/dev/null && touch $lockdir/synced_bts_version || true NOW=$(date +%s) TSTAMP=$(stat -c %Y $lockdir/synced_bts_version)