Signed-off-by: Joerg Jaspert <joerg@debian.org>
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
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/