Skip to content
Snippets Groups Projects
Commit a224366c authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: etc/bashrc - use \cd to avoid problem when cd is aliased. Fixes #280

parent a4ac4ac2
Branches
Tags
No related merge requests found
......@@ -43,7 +43,7 @@ export WM_PROJECT_VERSION=plus
# Please set to the appropriate path if the default is not correct.
#
[ $BASH_SOURCE ] && \
export FOAM_INST_DIR=$(cd ${BASH_SOURCE%/*/*/*} && pwd -P) || \
export FOAM_INST_DIR=$(\cd ${BASH_SOURCE%/*/*/*} && pwd -P) || \
export FOAM_INST_DIR=$HOME/$WM_PROJECT
# export FOAM_INST_DIR=~$WM_PROJECT
# export FOAM_INST_DIR=/opt/$WM_PROJECT
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment