deactivate output

This commit is contained in:
Gerhard Hoffmann 2022-06-16 15:48:11 +02:00
parent 7c2d78e6db
commit d69f767002

View File

@ -85,21 +85,24 @@ if [ "${general_utils_sourced:-1}" = "1" ]; then # include only once
# if [ -z ${!1} ]; then # if [ -z ${!1} ]; then
# log_fatal "$1 not set" # log_fatal "$1 not set"
# fi # fi
log_debug "$1=${!1}" # log_debug "$1=${!1}"
:
} }
assert_d () { assert_d () {
# if [ ! -d ${!1} ]; then # if [ ! -d ${!1} ]; then
# log_fatal "$1 does not exist" # log_fatal "$1 does not exist"
# fi # fi
log_debug "$1=${!1}" # log_debug "$1=${!1}"
:
} }
assert_f () { assert_f () {
# if [ ! -f ${!1} ]; then # if [ ! -f ${!1} ]; then
# log_fatal "$1 does not exist" # log_fatal "$1 does not exist"
# fi # fi
log_debug "$1=${!1}" #log_debug "$1=${!1}"
:
} }
assert_a () { assert_a () {
@ -109,6 +112,7 @@ if [ "${general_utils_sourced:-1}" = "1" ]; then # include only once
# if [ $__len -eq 0 ]; then # if [ $__len -eq 0 ]; then
# log_fatal "$1 not set" # log_fatal "$1 not set"
# fi # fi
log_debug "$1=$__n" # log_debug "$1=$__n"
:
} }
fi fi