diff --git a/scripts/vim.sh b/scripts/vim.sh index c20e5a9..a13089a 100755 --- a/scripts/vim.sh +++ b/scripts/vim.sh @@ -4,8 +4,10 @@ sudo apt-get build-dep -y vim mkdir -p /tmp/vim cd /tmp/vim rm -rf vim -(date && hg clone https://vim.googlecode.com/hg/ vim) 2>&1 |tee log -cd vim +# Old method of cloning +#(date && hg clone https://vim.googlecode.com/hg/ vim) 2>&1 |tee log +# Checkout the latest non alpha or beta tag +git clone https://github.com/vim/vim && cd vim && git checkout $(git tag|sort -n|grep -v '[ab]') ./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-gui=gtk2 --enable-cscope --prefix=/usr --enable-luainterp=dynamic | tee -a log make | tee -a log sudo make install | tee -a log