use /tmp as the vim build dir

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-05-18 15:14:27 +02:00
parent 20319f7bfd
commit 12da1074af

View file

@ -10,6 +10,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$DIR/../"
# install vim from sources
VIM_BUILD_DIR=/tmp
cd "$VIM_BUILD_DIR"
git clone https://github.com/vim/vim.git
cd vim
./configure --with-features=huge \
@ -23,6 +25,6 @@ cd vim
make -j2
sudo make install
cd
rm -fr /tmp/vim
rm -fvr "$VIM_BUILD_DIR/vim"
DIR="$DIR" $DIR/common/configure_fresh_system