From 58cc6336e366fda050e61ac855d432f4a34c472f Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Wed, 8 Jan 2014 13:21:31 -0700 Subject: [PATCH] extra whitespace is no longer needed --- scripts/travis.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/travis.sh b/scripts/travis.sh index 250aa5476..2c568027d 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -20,10 +20,8 @@ ES_DIR="$SNAPSHOTS/$ES_VERSION" ES_BIN="$ES_DIR/bin/elasticsearch" function fold { - echo -e "travis_fold:$1" - if [[ $1 =~ ^end ]]; then - echo "" - echo "" + if [ $TRAVIS = "true" ]; then + echo -e "travis_fold:$1" fi }