Commit 8110fb2f2b28e5af6b4ad0962e487e8647e73578

Authored by Shrikant Sharat
1 parent f25c14816f

Add support for absolute paths as url arguments.

This is so that local repositories can be specified as bundles. This can be
useful if you want to maintain a separate clone for your own plugin when you
experiment and develop stuff and pull in to your environment when you feel
confident.

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

... ... @@ -42,7 +42,7 @@ bundle () {
42 42 done
43 43  
44 44 # Resolve the url.
45   - if [[ $url != git://* && $url != https://* ]]; then
  45 + if [[ $url != git://* && $url != https://* && $url != /* ]]; then
46 46 url="${url%.git}"
47 47 url="https://github.com/$url.git"
48 48 fi