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

avoid adding nonexistent paths to environment variables #777

Merged
merged 2 commits into from
Feb 19, 2016

Conversation

dirk-thomas
Copy link
Member

Without sourcing the setup file for a package contributes its nonexistent paths to all environment variables: CPATH, LD_LIBRARY_PATH, PATH, PKG_CONFIG_PATH and PYTHONPATH.

@dirk-thomas
Copy link
Member Author

This will address the problems manifesting in failing roswtf tests: http://build.ros.org/job/Idev__ros_comm__ubuntu_trusty_amd64/7/testReport/__main__/TestRostopicOnline/test_offline/

@tfoote
Copy link
Member

tfoote commented Feb 4, 2016

looks good. you should probably add one more test case which checks the non-existent path gets stripped

@dirk-thomas dirk-thomas force-pushed the avoid_nonexistent_paths_in_env branch from 980a075 to cbc409e Compare February 4, 2016 05:31
@dirk-thomas
Copy link
Member Author

@tfoote
Copy link
Member

tfoote commented Feb 4, 2016

+1

dirk-thomas added a commit that referenced this pull request Feb 19, 2016
avoid adding nonexistent paths to environment variables
@dirk-thomas dirk-thomas merged commit 9b753f5 into indigo-devel Feb 19, 2016
@dirk-thomas dirk-thomas deleted the avoid_nonexistent_paths_in_env branch February 19, 2016 22:55
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.

2 participants