mirror of https://github.com/vector-im/riot-web
Fix sed
parent
183947615f
commit
82349ec933
|
@ -7,7 +7,7 @@ repo="$2"
|
||||||
|
|
||||||
curbranch="$TRAVIS_PULL_REQUEST_BRANCH"
|
curbranch="$TRAVIS_PULL_REQUEST_BRANCH"
|
||||||
[ -z "$curbranch" ] && curbranch="$TRAVIS_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" ]
|
if [ -n "$curbranch" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue