Commit 36cb7185642a875e9e81230331cce300a7f1d6d2

Authored by Shrikant Sharat
1 parent 5c124ed5a5

Fix break if the short url has a `.git` in the end.

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -39,7 +39,7 @@ bundle () {
39 39 # Resolve the url.
40 40 if [[ $url != git://* && $url != https://* ]]; then
41 41 name="$(basename "$url")"
42   - url="https://github.com/$url.git"
  42 + url="https://github.com/${url%.git}.git"
43 43 fi
44 44  
45 45 # Plugin's repo will be cloned here.