From 63b202a28ff158bb8082601dcea6c147f8d4dc70 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 27 Oct 2007 19:16:22 +0100 Subject: [PATCH] do not upload (publish) sources by default --- runner/adt-testreport-onepackage | 5 +++++ 1 file changed, 5 insertions(+) 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/" -- 2.30.2