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

use environment variable to extend environment in plain shell #862

Merged
merged 1 commit into from
Mar 29, 2017

Conversation

dirk-thomas
Copy link
Member

In a plain shell the following doesn't work: . setup.sh --extend

To allow extending the environment in plain shells this patch adds an environment variable which can be use to pass arguments to the _setup_util.py invocation: CATKIN_SETUP_UTIL_ARGS=--extend , setup.sh

If the environment variable is not set (default) nothing changes. So this should have no side effects if not being used.

@ros/ros_team Please review.

Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

What's the worst that could happen 😄

@dirk-thomas
Copy link
Member Author

What's the worst that could happen 😄

😨 😱 👊 ⚡ 💥 🔥 just some ideas based on past experiences... 😉

@dirk-thomas dirk-thomas merged commit 3519c73 into kinetic-devel Mar 29, 2017
@dirk-thomas dirk-thomas deleted the support_extend_in_plain_shell branch March 29, 2017 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants