From 20319f7bfd4d571bdf9de777a8a05e7f7d39eb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Wed, 18 May 2016 14:46:54 +0200 Subject: [PATCH] fixed an issue where config on bunsen would fail due to vim compilation being in another directory --- bunsen/configure_fresh_system | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bunsen/configure_fresh_system b/bunsen/configure_fresh_system index 46cc20e7..d4b73605 100755 --- a/bunsen/configure_fresh_system +++ b/bunsen/configure_fresh_system @@ -6,6 +6,9 @@ sudo apt-get -y install aptitude meld whois zsh tmux atop aria2 curl pv gajim to sudo systemctl enable tor sudo systemctl start tor +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR="$DIR/../" + # install vim from sources git clone https://github.com/vim/vim.git cd vim @@ -22,6 +25,4 @@ sudo make install cd rm -fr /tmp/vim -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -DIR="$DIR/../" DIR="$DIR" $DIR/common/configure_fresh_system