Fixed scmbDir for install.sh
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#locate the dir where this script is stored
|
#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.
|
# 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.
|
# Add line to bashrc and zshrc if not already present.
|
||||||
for rc in bashrc zshrc; do
|
for rc in bashrc zshrc; do
|
||||||
|
|||||||
Reference in New Issue
Block a user