From 5c3b5bf654ed02f76c0de960e5046f37525b264a Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Mon, 24 Jul 2006 14:49:31 +0100 Subject: [PATCH] Verbosity fixes. --- install-lib.sh | 1 + skel/scripts/functions.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install-lib.sh b/install-lib.sh index 24bbb4e..edd2a60 100755 --- a/install-lib.sh +++ b/install-lib.sh @@ -8,6 +8,7 @@ # Used to create a new project. You pass it the template parameters, it # does the rest. +[ -z "${VERBOSE}" ] && VERBOSE="0" diff --git a/skel/scripts/functions.sh b/skel/scripts/functions.sh index ea063cc..303f44b 100755 --- a/skel/scripts/functions.sh +++ b/skel/scripts/functions.sh @@ -54,7 +54,7 @@ do_cmd() { do_cmd_redir() { DEST=$1 shift - [ "${VERBOSE}" != "0" ] && echo "$@ \>\> ${DEST}" + [ "${VERBOSE}" != "0" ] && echo "$@ >> ${DEST}" "$@" >> ${DEST} if [ $? -ne 0 ] then