X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm-build-tools.git;a=blobdiff_plain;f=builder.sh;h=520f30707e0a5f3cc113b16f65c001f8c8677aec;hp=e7e8d3416db8a9d9244376a2b7212a70c4046928;hb=2454dc8ca1501dfbfb865e9942a53d23541c4c23;hpb=52c6968e58d5dd2efc78b7758ad5349e41a49e20 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