Verbosity fixes.

This commit is contained in:
Laurence Withers 2006-07-24 14:49:31 +01:00
parent 54636435f1
commit 5c3b5bf654
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
# Used to create a new project. You pass it the template parameters, it # Used to create a new project. You pass it the template parameters, it
# does the rest. # does the rest.
[ -z "${VERBOSE}" ] && VERBOSE="0"

View File

@ -54,7 +54,7 @@ do_cmd() {
do_cmd_redir() { do_cmd_redir() {
DEST=$1 DEST=$1
shift shift
[ "${VERBOSE}" != "0" ] && echo "$@ \>\> ${DEST}" [ "${VERBOSE}" != "0" ] && echo "$@ >> ${DEST}"
"$@" >> ${DEST} "$@" >> ${DEST}
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then