uci-docker-build/core/opt/lib/verbose.lib

10 lines
149 B
Plaintext

quiet () {
if [ -n "$VERBOSE" ]; then $@; fi
}
silence() {
if [ -n "$VERBOSE" ] ; then
"$@"
else
"$@" > /dev/null
fi
}