From e1e78ee01df4d6418701400a1e654941ff9eb212 Mon Sep 17 00:00:00 2001 From: Adam Veldhousen Date: Thu, 9 Mar 2017 14:27:18 -0600 Subject: [PATCH] some fixes to bootstrap.. I need to rewrite this :shit: --- bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 80e0485..5718eba 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -2,7 +2,7 @@ IFS='\n\t' set -euo pipefail -source="$(dirname "$(readlink -f "$0")")" +source="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" dest="$(pwd)" bkup="$dest/.home_bkup" @@ -63,7 +63,7 @@ elif [[ -f "${dest}/.ssh/config" ]]; then else echo "Copying new ssh config" mkdir -p "${dest}/.ssh/" - cp -t "${dest}/.ssh/" -n "${source}/.ssh/config" + cp -n "${source}/.ssh/config" "${dest}/.ssh/" fi if [[ $(uname -s) == "Darwin" ]]; then @@ -73,8 +73,8 @@ if [[ $(uname -s) == "Darwin" ]]; then echo "installing osx stuff" sudo ./install/.osx - rake - ~/tools/vim/bundle/YouCompleteMe/install.py --all + #rake + #~/tools/vim/bundle/YouCompleteMe/install.py --all 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:"