From 9e30a7fbc9faea3e04124cdb2ccfb13c5535debe Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Mon, 12 Dec 2011 13:44:40 -0500 Subject: [PATCH] Updated PATH Now using dynamic `pwd` value. Added ./git to the PATH so that the git scripts will work --- install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 22f7ae7..d1feac5 100755 --- a/install.sh +++ b/install.sh @@ -11,8 +11,13 @@ fi # Grabs the skeleton .bashrc cp /etc/skel/.bashrc ~/.bashrc +PWD=`pwd` + +# Adds paths +echo "export PATH=\"$PWD/git:$PATH\"" >> ~/.bashrc + # Appends the custom .bashrc file echo " -if [ -f `pwd`/bash.bashrc ] && ! shopt -oq posix; then - . `pwd`/bash.bashrc +if [ -f $PWD/bash.bashrc ] && ! shopt -oq posix; then + . $PWD/bash.bashrc fi" >> ~/.bashrc