updated travis_ci.sh

pull/2/head
Hari Sekhon 5 years ago
parent 41f7c1ff77
commit 2d6351b165

@ -35,7 +35,7 @@ travis_debug(){
opts=""
if [[ "$PWD" =~ /github/ ]]; then
local repo
repo="$(git remote -v | awk '/^origin/{print $2}' | sed 's,.*github.com/,,')"
repo="$(git remote -v | awk '/^origin/{print $2;exit}' | sed 's,.*github.com/,,')"
if [ -n "$repo" ]; then
opts="--repo $repo"
fi

Loading…
Cancel
Save