From: Ian Jackson Date: Sat, 27 Oct 2007 18:16:22 +0000 (+0100) Subject: do not upload (publish) sources by default X-Git-Tag: converted-from-bzr~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=autopkgtest.git;a=commitdiff_plain;h=63b202a28ff158bb8082601dcea6c147f8d4dc70 do not upload (publish) sources by default --- diff --git a/runner/adt-testreport-onepackage b/runner/adt-testreport-onepackage index dc00cd7..61ce4a9 100755 --- a/runner/adt-testreport-onepackage +++ b/runner/adt-testreport-onepackage @@ -13,6 +13,7 @@ suppressrepeatedemails=false arch=`dpkg --print-architecture` logheadmaxbytes=32768 logtailmaxbytes=32768 +upload_src=false for config in "$@"; do case "$config" in @@ -371,6 +372,10 @@ if $upload; then fi done + if ! $upload_src; then + rm -r "$tp"/src + fi + progress "uploading" printf >&3 "uploading" $rsync -rltH --safe-links --delete "$tp" "$destrsynchead/$destdirfin/"