diff options
-rw-r--r-- | bash_profile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bash_profile b/bash_profile index ef85b9f..1e8fd30 100644 --- a/bash_profile +++ b/bash_profile @@ -15,11 +15,11 @@ if [ -f ~/.bashrc ]; then source ~/.bashrc fi -if [ -d ~/bin ] ; then - PATH="~/bin:${PATH}" +if [ -d "${HOME}/bin" ] ; then + PATH="${HOME}/bin:${PATH}" fi -if [ -d ~/local/bin ] ; then - PATH="~/local/bin:${PATH}" +if [ -d "${HOME}/local/bin" ] ; then + PATH="${HOME}/local/bin:${PATH}" fi if [ -d /usr/lib/compilercache ] ; then PATH="/usr/lib/compilercache:${PATH}" |