/usr/bin/buildd-synclogs is in xbuilder 1.0.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/sh
#read in config
. /etc/xbuilder-synclogs.cfg
# Allow for separate reprepro repositories for debian and ubuntu
for flavour in ${ubflavourlist}; do
BASE=${base} REPO=${ubunturepo} make -s -f ${base}/Makefile -C ${base}/flavours/${flavour}/logs/sbuild status.html status-bootstrap.html status-ubuntucore.html
done
for flavour in ${debflavourlist}; do
BASE=${base} REPO=${debianrepo} make -s -f ${base}/Makefile -C ${base}/flavours/${flavour}/logs/sbuild status.html status-bootstrap.html
done
for flavour in ${flavourlist}; do
# using rsync module
#rsync -a ${base}/flavours/${flavour}/logs/ ${server}::${rsyncmodule}/${flavour}/
# using ssh
rsync -a ${base}/flavours/${flavour}/logs/ ${uploaduser}@${server}:${serverpath}/${flavour}/
done
|