Verbosity fixes.
This commit is contained in:
parent
54636435f1
commit
5c3b5bf654
|
@ -8,6 +8,7 @@
|
|||
|
||||
# Used to create a new project. You pass it the template parameters, it
|
||||
# does the rest.
|
||||
[ -z "${VERBOSE}" ] && VERBOSE="0"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue