From: Gerfried Fuchs Date: Mon, 11 Oct 2010 11:31:36 +0000 (+0200) Subject: Fix strange expansion to proper one X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=0e10ae387fc0dedec301d54b4a083be76f3e30f9;p=deb%2Fpackages.git Fix strange expansion to proper one Thorsten Glaser noticed the wrong semantics in the expansion that is triggered by the change. Actually the expansion was never used before anyway. --- diff --git a/cron.d/100syncarchive_backports b/cron.d/100syncarchive_backports index 72b56b9..35ad9d7 100755 --- a/cron.d/100syncarchive_backports +++ b/cron.d/100syncarchive_backports @@ -15,7 +15,7 @@ do $wget_cmd -N ${backports_ftpsite}/dists/${dist}/Release && $wget_cmd -N ${backports_ftpsite}/dists/${dist}/Release.gpg ) - foo=\$arch_${dist//-/_} + foo=\$arch_${dist%-*} for arch in `eval echo $foo` do for part in ${parts}