Skip to content

Commit

Permalink
mkdir -p $repo_path instead of making bundle dir explictly
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Robeson committed Mar 7, 2015
1 parent 99a56d8 commit 97376b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ sync_repo() {
msg "Trying to update $repo_name"

if [ ! -e "$repo_path" ]; then
mkdir -p "$repo_path"
git clone -b "$repo_branch" "$repo_uri" "$repo_path"
ret="$?"
success "Successfully cloned $repo_name."
Expand All @@ -109,10 +110,6 @@ create_symlinks() {
local source_path="$1"
local target_path="$2"

if [ ! -d "$source_path/.vim/bundle" ]; then
mkdir -p "$source_path/.vim/bundle"
fi

lnif "$source_path/.vimrc" "$target_path/.vimrc"
lnif "$source_path/.vimrc.bundles" "$target_path/.vimrc.bundles"
lnif "$source_path/.vimrc.before" "$target_path/.vimrc.before"
Expand Down

0 comments on commit 97376b4

Please sign in to comment.