From 506656f5e984adc88021f492084a5bf8163074c2 Mon Sep 17 00:00:00 2001 From: George Danchev Date: Mon, 11 Jul 2011 08:31:03 +0000 Subject: [PATCH] cleanup remaining logs properly when requested --- releng/run_all_releng | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/releng/run_all_releng b/releng/run_all_releng index 1f4eb6a8..1d76de9d 100755 --- a/releng/run_all_releng +++ b/releng/run_all_releng @@ -95,11 +95,11 @@ fi if [ "${CLEANUP_LOG}" -eq 1 ]; then if [ -f "${CLOG}" ]; then rm -f "${CLOG}" - echo -ne "\n${SELF}: Removed my own log ${CLOG}." | tee -a ${CLOG} + echo -ne "\n${SELF}: Removed my own log ${CLOG}." # | tee -a ${CLOG} fi if [ -f "${CLOG}".prev ]; then rm -f "${CLOG}".prev - echo -e "\n${SELF}: Removed my own log ${CLOG}.prev." | tee -a ${CLOG} + echo -e "\n${SELF}: Removed my own log ${CLOG}.prev." # | tee -a ${CLOG} fi else E2=`date '+%s'` @@ -146,14 +146,14 @@ fi echo -e "${SELF}: See diff against previous log file (might be long):" | tee -a ${CLOG} echo -e "diff -Naur ${CLOG}.prev ${CLOG} | less" | tee -a ${CLOG} fi + fi # which tput >/dev/null 2>&1 && tput smso - echo -e "${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:" | tee -a ${CLOG} + echo -e "\n${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:" # | tee -a ${CLOG} which tput >/dev/null 2>&1 && tput rmso - - ls -lth "${GEN_DATA_DIR}" | tee -a ${CLOG} + ls -lth "${GEN_DATA_DIR}" # | tee -a ${CLOG} # Fin exit 0