From: Joerg Jaspert Date: Thu, 31 Dec 2009 11:59:22 +0000 (+0100) Subject: why, oh why, doesnt this fix itself when its wrong? X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0e36105cb1646b5e5af792582861e96c1151cacb;p=dak.git why, oh why, doesnt this fix itself when its wrong? Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/common b/config/debian/common index c7c9c907..6730889d 100644 --- a/config/debian/common +++ b/config/debian/common @@ -85,7 +85,7 @@ function sync_debbugs () { echo "--" >> $report timestamp=$(date "+%Y-%m-%d-%H:%M") mkdir -p $queuedir/${timestamp} - rsync -aq $queuedir/bts_version_track/ $queuedir/${timestamp} + rsync -aq $queuedir/bts_version_track/ $queuedir/bts_version_track_archive/${timestamp} rmdir --ignore-fail-on-non-empty $queuedir/${timestamp} # remove if empty. 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)