提交 bc736da4 编写于 作者: B Bastian Blank

Use new-style arguments to runmirrors

上级 4ab875f0
......@@ -23,7 +23,7 @@ function changelogs() {
mkdir -p ${exportpublic}/changelogs
cd ${exportpublic}/changelogs
rsync -aHW --delete --delete-after --ignore-errors ${exportdir}/changelogs/. .
sudo -H -u archvsync runmirrors metasdo > ~dak/runmirrors-metadata.log 2>&1 &
sudo -H -u archvsync runmirrors -a metasdo > ~dak/runmirrors-metadata.log 2>&1 &
}
changelogs
......@@ -108,7 +108,7 @@ function make_buildd_dir () {
# Tell the mirrors that we've updated
log "Pushing static for incoming.d.o"
sudo -H -u archvsync runmirrors buildd > ~dak/runmirrors-buildd.log 2>&1 &
sudo -H -u archvsync runmirrors -a buildd > ~dak/runmirrors-buildd.log 2>&1 &
chronic timeout -k 600 480 /usr/local/bin/static-update-component incoming.debian.org < /dev/null
wait
}
......
......@@ -582,7 +582,7 @@ function mirrorpush() {
date -u > ${webdir}/${fname}
echo "Using dak v1" >> ${webdir}/${fname}
echo "Running on host $(hostname -f)" >> ${webdir}/${fname}
sudo -H -u archvsync runmirrors ${pusharg} > ~dak/runmirrors-${archive}.log 2>&1 &
sudo -H -u archvsync runmirrors -a ${pusharg} > ~dak/runmirrors-${archive}.log 2>&1 &
fi
done
}
......@@ -594,7 +594,7 @@ function mirrorpush-backports() {
function mirrorpush-release() {
log "Pushing cdbuilder host"
sudo -H -u archvsync runmirrors release > ~dak/runmirrors-release.log 2>&1 &
sudo -H -u archvsync runmirrors -a release > ~dak/runmirrors-release.log 2>&1 &
}
function i18n2() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册