From 22c74380c32fb7df645c55ccbb89434a5d22579a Mon Sep 17 00:00:00 2001 From: George Danchev Date: Sat, 9 Jul 2011 18:00:05 +0000 Subject: [PATCH] more clear summary output --- libisoburn/trunk/releng/run_all_releng | 27 +++++++++----------------- 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/libisoburn/trunk/releng/run_all_releng b/libisoburn/trunk/releng/run_all_releng index b37f9869..c242fa7c 100755 --- a/libisoburn/trunk/releng/run_all_releng +++ b/libisoburn/trunk/releng/run_all_releng @@ -83,14 +83,10 @@ fi printf "done in ${TS} sec. ok." ;; *) - if which tput >/dev/null 2>&1; then - printf "done in ${TS} sec." - tput smso - printf " FAIL. EXIT CODE: $RET;" - tput rmso - else - printf "done in ${TS} sec. FAIL. EXIT CODE: $RET;" - fi + printf "done in ${TS} sec. " + which tput >/dev/null 2>&1 && tput smso + printf "FAIL -> EXIT CODE $RET" + which tput >/dev/null 2>&1 && tput rmso ;; esac set -e @@ -118,8 +114,7 @@ fi printf " Total elapsed ${ES} sec." fi ##### - printf "\n${SELF}: Std(out|err) logged in ${CLOG}." - printf "\n${SELF}: Trivial log file examination:" + printf "\n${SELF}: Trivial log examination: ${CLOG}" printf "\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" # severity classes of libdax_msgs.h in libburn and libisofs # List of boring keywords: @@ -157,14 +152,10 @@ fi fi # - if which tput >/dev/null 2>&1; then - tput smso - printf "\n${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:\n" - tput rmso - else - printf "\n${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:\n" - fi - + which tput >/dev/null 2>&1 && tput smso + printf "\n${SELF}: Leaving the following cruft in ${GEN_DATA_DIR}:\n" + which tput >/dev/null 2>&1 && tput rmso + ls -lth "${GEN_DATA_DIR}" # Fin