Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between setup.sh/bash/zsh and local_setup.sh/bash/zsh #204

Closed
murphm8 opened this issue Jul 25, 2019 · 1 comment
Closed

Difference between setup.sh/bash/zsh and local_setup.sh/bash/zsh #204

murphm8 opened this issue Jul 25, 2019 · 1 comment
Labels
question Further information is requested

Comments

@murphm8
Copy link
Contributor

murphm8 commented Jul 25, 2019

Could you explain the different use cases for sourcing setup.sh/bash/zsh vs local_setup.sh/bash/zsh?

It looks like the docs are using local_setup.bash now?

@dirk-thomas
Copy link
Member

The local_setup files set the environment for the current workspace. It doesn't consider other parent workspaces. If there are any you need to source them manually using their files.

The setup files set the environment for all the parent workspaces first (by sourcing their local_setup files in the order they appear in COLCON_PREFIX_PATH when this workspace was built) and then sources the local_setup file of this workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants