]> TLD Linux GIT Repositories - packages/rpm-build-tools.git/commitdiff
- disable color logging, color codes make buildlogs look like crap
authorMarcin Krol <hawk@tld-linux.org>
Thu, 1 Aug 2013 05:46:14 +0000 (05:46 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 1 Aug 2013 05:46:14 +0000 (05:46 +0000)
- always overwrite log file, do not append

builder.sh

index e7e8d3416db8a9d9244376a2b7212a70c4046928..520f30707e0a5f3cc113b16f65c001f8c8677aec 100755 (executable)
@@ -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