aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2014-05-28 17:37:35 +0200
committerMiquel Sabaté <mikisabate@gmail.com>2014-05-28 17:37:35 +0200
commitaab2bcffd98a10407d2965ea38604e8167f3b5f1 (patch)
tree0b3e62af5d1509802e1d7e183e8c4634da0766f1
parent016f5f9327b2e62736344fea28dd186550576829 (diff)
downloaddotfiles-aab2bcffd98a10407d2965ea38604e8167f3b5f1.tar.gz
dotfiles-aab2bcffd98a10407d2965ea38604e8167f3b5f1.zip
Fixed the install-vim.sh script when we've already got the vim source code.
-rwxr-xr-xinstall-vim.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install-vim.sh b/install-vim.sh
index 42b199f..1396f02 100755
--- a/install-vim.sh
+++ b/install-vim.sh
@@ -9,8 +9,10 @@ BASE=/opt
# Move to $BASE and fetch vim.
cd $BASE
if [ -d "vim" ]; then
+ cd vim
hg pull
hg update
+ cd ..
else
hg clone https://vim.googlecode.com/hg/ vim
fi