From: Joerg Jaspert Date: Tue, 14 Sep 2010 21:07:00 +0000 (+0200) Subject: fixup the dirs X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=84054b05c7ef40c453dd07dd8a4e0b61ae3bdb21;p=dak.git fixup the dirs Signed-off-by: Joerg Jaspert --- diff --git a/config/backports/common b/config/backports/common index b21a3929..dd60e13e 100644 --- a/config/backports/common +++ b/config/backports/common @@ -78,9 +78,9 @@ function sync_debbugs () { # sync with debbugs echo "--" >> $report timestamp=$(date "+%Y-%m-%d-%H:%M") - mkdir -p $queuedir/${timestamp} + mkdir -p $queuedir/bts_version_track_archive/${timestamp} rsync -aq $queuedir/bts_version_track/ $queuedir/bts_version_track_archive/${timestamp} - rmdir --ignore-fail-on-non-empty $queuedir/${timestamp} # remove if empty. + rmdir --ignore-fail-on-non-empty $queuedir/bts_version_track_archive/${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) TSTAMP=$(stat -c %Y $lockdir/synced_bts_version) diff --git a/config/debian/common b/config/debian/common index 5d39718a..a18433da 100644 --- a/config/debian/common +++ b/config/debian/common @@ -78,9 +78,9 @@ function sync_debbugs () { # sync with debbugs echo "--" >> $report timestamp=$(date "+%Y-%m-%d-%H:%M") - mkdir -p $queuedir/${timestamp} + mkdir -p $queuedir/bts_version_track_archive/${timestamp} rsync -aq $queuedir/bts_version_track/ $queuedir/bts_version_track_archive/${timestamp} - rmdir --ignore-fail-on-non-empty $queuedir/${timestamp} # remove if empty. + rmdir --ignore-fail-on-non-empty $queuedir/bts_version_track_archive/${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) TSTAMP=$(stat -c %Y $lockdir/synced_bts_version)