3
# this is part of langpack-o-matic, by Martin Pitt <martin.pitt@canonical.com>
5
# (C) 2005 Canonical Ltd.
7
# Build and upload all packages in "updated-packages". Generated source
8
# tar.gz/dsc/changes files are deleted after successful upload and their entry
9
# is removed from "updated-packages".
13
[ -f updated-packages ] || exit 0
15
for i in $(< updated-packages); do
21
dput ${f}_*_source.changes
22
rm -f ${f}_*_source.changes ${f}_*_source.build ${f}_*_source.upload ${f}_*.dsc ${f}_*.tar.gz
26
# this seems to be overly complicated, but it allows us to run this script
27
# again if dput fails for a single package
28
sed -i -e "s#$i##" -e '/^$/d' updated-packages