Allows you to source pythonpath.sh from any directory
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDENVe72e1908fc5a: pythonpath.sh: location independant
Diff Detail
Diff Detail
- Repository
- rDENV Development environment
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Thanks i have somethink like that in my ~/work/inria/.shrc
export SWH_ENVIRONMENT_HOME=~/work/inria/repo/swh/swh-environment if [ -d $SWH_ENVIRONMENT_HOME ]; then cd $SWH_ENVIRONMENT_HOME . ./pythonpath.sh cd - fi
This will permit to simplify to:
export SWH_ENVIRONMENT_HOME=~/work/inria/repo/swh/swh-environment [ -d $SWH_ENVIRONMENT_HOME ] && . $SWH_ENVIRONMENT_HOME/pythonpath.sh