From 0e10ae387fc0dedec301d54b4a083be76f3e30f9 Mon Sep 17 00:00:00 2001 From: Gerfried Fuchs Date: Mon, 11 Oct 2010 13:31:36 +0200 Subject: [PATCH] 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. --- cron.d/100syncarchive_backports | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.39.2