From 82349ec933cc369179814931e303602e05e169f4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 2 May 2018 16:43:51 +0100 Subject: [PATCH] Fix sed --- scripts/fetchdep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetchdep.sh b/scripts/fetchdep.sh index 9e7e47fe5b..a8551cf15d 100755 --- a/scripts/fetchdep.sh +++ b/scripts/fetchdep.sh @@ -7,7 +7,7 @@ repo="$2" curbranch="$TRAVIS_PULL_REQUEST_BRANCH" [ -z "$curbranch" ] && curbranch="$TRAVIS_BRANCH" -[ -z "$curbranch" ] && curbranch=`"$GIT_BRANCH" | sed -e 's/^origin\///'` # jenkins +[ -z "$curbranch" ] && curbranch=`"echo $GIT_BRANCH" | sed -e 's/^origin\///'` # jenkins if [ -n "$curbranch" ] then