]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder.sh
- fix for cutting logs when UPDATE_POLDEK_INDEXES=yes and LOGFILE=
[packages/rpm-build-tools.git] / builder.sh
index 34a909ea472794c1487808d1e84dcdd831d21a84..3593dbffffebb838393d52c1254d903a05e3f5a8 100644 (file)
@@ -153,7 +153,7 @@ run_poldek()
                if [ -n "$LASTLOG_FILE" ]; then
                        echo "LASTLOG=$LOG" > $LASTLOG_FILE
                fi
-               (nice -n ${DEF_NICE_LEVEL} ${POLDEK_CMD} `while test $# -gt 0; do echo "$1 ";shift;done` ; echo $? > ${RES_FILE})|tee $LOG
+               (nice -n ${DEF_NICE_LEVEL} ${POLDEK_CMD} `while test $# -gt 0; do echo "$1 ";shift;done` ; echo $? > ${RES_FILE})|tee -a $LOG
                return $exit_pldk
        else
                (nice -n ${DEF_NICE_LEVEL} ${POLDEK_CMD} `while test $# -gt 0; do echo "$1 ";shift;done` ; echo $? > ${RES_FILE}) 1>&2 >/dev/null
This page took 0.037521 seconds and 4 git commands to generate.