Fixed scmbDir for install.sh

This commit is contained in:
Nathan Broadbent
2011-10-21 08:54:18 +08:00
parent c1edcb9206
commit 755ebeb54f

View File

@@ -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