From: Frank Lichtenheld Date: Tue, 11 Sep 2007 14:54:56 +0000 (+0200) Subject: 100syncarchive: Really fix retrieval of Release(.gpg) files X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=648a333fa9bee495e2a16843f3b5c61957828f11;p=deb%2Fpackages.git 100syncarchive: Really fix retrieval of Release(.gpg) files 7f261c49b0b932c5cf04b107bac3bc8aad5f642c attempted to fix the retrieval of the Release(.gpg) files from a local mirror but really didn't because it didn't accounted for the chdir before the rsync call. Really fix it this time y removing the chdir. --- diff --git a/cron.d/100syncarchive b/cron.d/100syncarchive index 8048659..5cb5af4 100755 --- a/cron.d/100syncarchive +++ b/cron.d/100syncarchive @@ -51,9 +51,8 @@ else do echo "retrieve Releases(.gpg) $dist" test -d us/${dist} || mkdir -p us/${dist} - (cd us/${dist} && - rsync -t ${localdir}/dists/${dist}/Release us/${dist}/Release && - rsync -t ${localdir}/dists/${dist}/Release.gpg us/${dist}/Release.gpg ) + rsync -t ${localdir}/dists/${dist}/Release us/${dist}/Release + rsync -t ${localdir}/dists/${dist}/Release.gpg us/${dist}/Release.gpg foo=\$arch_${dist//-/_} for arch in `eval echo $foo`