aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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