some fixes to bootstrap.. I need to rewrite this 💩

osx
Adam Veldhousen 7 years ago
parent b3a5cc8034
commit e1e78ee01d
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -2,7 +2,7 @@
IFS='\n\t' IFS='\n\t'
set -euo pipefail set -euo pipefail
source="$(dirname "$(readlink -f "$0")")" source="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
dest="$(pwd)" dest="$(pwd)"
bkup="$dest/.home_bkup" bkup="$dest/.home_bkup"
@ -63,7 +63,7 @@ elif [[ -f "${dest}/.ssh/config" ]]; then
else else
echo "Copying new ssh config" echo "Copying new ssh config"
mkdir -p "${dest}/.ssh/" mkdir -p "${dest}/.ssh/"
cp -t "${dest}/.ssh/" -n "${source}/.ssh/config" cp -n "${source}/.ssh/config" "${dest}/.ssh/"
fi fi
if [[ $(uname -s) == "Darwin" ]]; then if [[ $(uname -s) == "Darwin" ]]; then
@ -73,8 +73,8 @@ if [[ $(uname -s) == "Darwin" ]]; then
echo "installing osx stuff" echo "installing osx stuff"
sudo ./install/.osx sudo ./install/.osx
rake #rake
~/tools/vim/bundle/YouCompleteMe/install.py --all #~/tools/vim/bundle/YouCompleteMe/install.py --all
elif [[ $(uname -o) == "Msys" ]]; then elif [[ $(uname -o) == "Msys" ]]; then
echo "If you would like to install vim plugins, ensure you have ruby 1.9.3 + rake installed and do the following:" echo "If you would like to install vim plugins, ensure you have ruby 1.9.3 + rake installed and do the following:"

Loading…
Cancel
Save