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