]> git.decadent.org.uk Git - dak.git/commitdiff
Fix the arch entries for the buildd suites
authorJoerg Jaspert <joerg@debian.org>
Tue, 14 Dec 2010 18:54:47 +0000 (19:54 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 14 Dec 2010 18:54:47 +0000 (19:54 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian-security/cron.buildd
config/debian-security/vars

index 7bd0e7e602333d474e61b54095265ba726d7eae5..67b9094400847217ec98c65ff9e827870af738b2 100755 (executable)
@@ -25,8 +25,8 @@ apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate apt.conf.buildd
 cd  ${base}/buildd
 for dist in $DISTS; do
     rm -f $dist/Release*
-    archs=$(dak admin s-a list-arch $dist | tr '\n' ' ')
-    apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd $dist security" -o APT::FTPArchive::Release::Architectures="${archs}" release $dist > Release
+    darchs=$(dak admin s-a list-arch $dist | tr '\n' ' ')
+    apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd $dist security" -o APT::FTPArchive::Release::Architectures="${darchs}" release $dist > Release
     gpg --secret-keyring ${base}/s3kr1t/dot-gnupg/secring.gpg --keyring ${base}/s3kr1t/dot-gnupg/pubring.gpg --no-options --batch --no-tty --armour --default-key 55BE302B --detach-sign -o Release.gpg Release
     mv Release* $dist/.
 done
index 9a33dd47a805bde49dd2843213ac26b902a13a3b..2d040a910fd4eba7f0a3b8673127db4d58cfa1bf 100644 (file)
@@ -8,7 +8,7 @@ masterdir=$base/dak/
 configdir=$masterdir/config/debian-security/
 webdir=$masterdir/web
 indices=$ftpdir/indices
-archs=$(dak admin a list)
+archs=$(dak admin a list | tr '\n' ' ')
 
 scriptdir=$base/scripts
 scriptsdir=$masterdir/scripts/debian/