From 6fb2b5b52a6b3cfaa5da388b1dd9de79c54cb2bb Mon Sep 17 00:00:00 2001 From: Josh Hagins Date: Wed, 19 Oct 2016 22:53:16 -0400 Subject: [PATCH] helpers.sh: update to match main repo --- ci/travis/helpers.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/travis/helpers.sh b/ci/travis/helpers.sh index 775287c20..0f5616581 100755 --- a/ci/travis/helpers.sh +++ b/ci/travis/helpers.sh @@ -18,13 +18,17 @@ NC='\033[0m' # no color # log command before running and add a blank line run () { - echo -e "${MAGENTA}>>>${NC} $*" + ohai "$*" eval "$*" local retval=$? echo return $retval } +ohai () { + echo -e "${MAGENTA}>>>${NC} $*" +} + # print args as a cyan header header () { echo