From 755ebeb54fad18079975d863f084f0abaa83c0a3 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 21 Oct 2011 08:54:18 +0800 Subject: [PATCH] Fixed scmbDir for install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 111a94a..580e785 100755 --- a/install.sh +++ b/install.sh @@ -1,9 +1,9 @@ #!/bin/sh #locate the dir where this script is stored -export scmbDir="$(dirname "$0")" +export scmbDir="$( cd -P "$( dirname "$0" )" && pwd )" # This loads SCM Breeze into the shell session. -exec_string="[ -s \"$scmbDir/scm_breeze.sh\" ]] && . \"$scmbDir/scm_breeze.sh\"" +exec_string="[ -s \"$scmbDir/scm_breeze.sh\" ] && . \"$scmbDir/scm_breeze.sh\"" # Add line to bashrc and zshrc if not already present. for rc in bashrc zshrc; do