Rewrite verbose() to work in OSX bash

This commit is contained in:
Eli Bendersky 2019-06-06 05:26:20 -07:00
parent 3d0bde4f8f
commit d34c7ac64e

View File

@ -2,7 +2,9 @@
set -e
verbose() [[ -v VERBOSE ]]
verbose() {
! test -z "$VERBOSE"
}
verbose && echo "Running tests..."
tools/test