Update core.func
This commit is contained in:
parent
3a7f4e1694
commit
0f21fefe70
@ -91,9 +91,11 @@ default_vars() {
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Sets default verbose mode for script and os execution.
|
# Sets default verbose mode for script and os execution.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
echo "DEBUG: VERBOSE: '$VERBOSE'"
|
if [ -z "${VERBOSE+x}" ]; then
|
||||||
VERBOSE="${1:-no}"
|
echo "DEBUG: VERBOSE is unset"
|
||||||
echo "DEBUG: VERBOSE: '$VERBOSE'"
|
else
|
||||||
|
echo "DEBUG: VERBOSE (pre): '$VERBOSE'"
|
||||||
|
fi
|
||||||
|
|
||||||
set_std_mode() {
|
set_std_mode() {
|
||||||
if [ "$VERBOSE" = "yes" ]; then
|
if [ "$VERBOSE" = "yes" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user