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.
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`