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
|
# Used to create a new project. You pass it the template parameters, it
|
||||||
# does the rest.
|
# does the rest.
|
||||||
|
[ -z "${VERBOSE}" ] && VERBOSE="0"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue