diff --git a/.bash.d/travis_ci.sh b/.bash.d/travis_ci.sh index f7749226..b8e3a164 100644 --- a/.bash.d/travis_ci.sh +++ b/.bash.d/travis_ci.sh @@ -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