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