Rewrite verbose() to work in OSX bash

This commit is contained in:
Eli Bendersky 2019-06-06 05:26:20 -07:00 committed by unknown
parent aefbbac19b
commit df65bacb40

View File

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