From 2454dc8ca1501dfbfb865e9942a53d23541c4c23 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 1 Aug 2013 05:46:14 +0000 Subject: [PATCH] - disable color logging, color codes make buildlogs look like crap - always overwrite log file, do not append --- builder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder.sh b/builder.sh index e7e8d34..520f307 100755 --- a/builder.sh +++ b/builder.sh @@ -86,7 +86,7 @@ LOGFILE='' # use teeboth Perl wrapper # temporary option to disable if broken -USE_TEEBOTH=yes +USE_TEEBOTH=no LOGDIR="" LOGDIROK="" @@ -528,7 +528,7 @@ teeboth() { local efile rc logfile=$1; shift if [ "$logfile" ]; then efile=$(tempfile) - { "$@" 2>&1; echo $? > $efile; } | tee -a $logfile + { "$@" 2>&1; echo $? > $efile; } | tee $logfile rc=$(< $efile) rm -f $efile else -- 2.46.0