nimbus-eth2/scripts/bash_utils.sh

18 lines
187 B
Bash

if [ -z "${BASH_UTILS_SOURCED:-}" ]; then
BASH_UTILS_SOURCED=1
VERBOSE="0"
log() {
if [[ "${VERBOSE}" -ge "1" ]]; then
echo "${@}"
fi
}
run() {
echo Launching: $*
$*
}
fi