The following commit has been merged in the debian-master branch:
commit 0e10ae387fc0dedec301d54b4a083be76f3e30f9
Author: Gerfried Fuchs <rho...@debian.org>
Date:   Mon Oct 11 13:31:36 2010 +0200

    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}

-- 
APT Archive Web-Frontend (Alioth repository)


-- 
To UNSUBSCRIBE, email to debian-www-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to