Skip to content

Commit

Permalink
store the vundle uri in a variable.
Browse files Browse the repository at this point in the history
I sometimes need to use other git transports (as opposed to https) and having these uris readable from the environment helps.
  • Loading branch information
matlads committed Jan 31, 2014
1 parent 529565b commit 0bdeca5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env bash
############################ SETUP PARAMETERS
app_name='spf13-vim'
git_uri='https://github.com/spf13/spf13-vim.git'
[-z "$git_uri" ] && git_uri='https://github.com/spf13/spf13-vim.git'
git_branch='3.0'
debug_mode='0'
fork_maintainer='0'
[ -z "$VUNDLE_URI" ] && VUNDLE_URI="https://github.com/gmarik/vundle.git"

############################ BASIC SETUP TOOLS
msg() {
Expand Down Expand Up @@ -93,7 +94,7 @@ clone_repo() {

clone_vundle() {
if [ ! -e "$HOME/.vim/bundle/vundle" ]; then
git clone https://github.com/gmarik/vundle.git "$HOME/.vim/bundle/vundle"
git clone $VUNDLE_URI "$HOME/.vim/bundle/vundle"
else
upgrade_repo "vundle" "Successfully updated vundle"
fi
Expand Down

0 comments on commit 0bdeca5

Please sign in to comment.