Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

avoid adding nonexistent paths to environment variables#777

Merged
dirk-thomas merged 2 commits intoindigo-develfrom
avoid_nonexistent_paths_in_env
Feb 19, 2016
Merged

avoid adding nonexistent paths to environment variables#777
dirk-thomas merged 2 commits intoindigo-develfrom
avoid_nonexistent_paths_in_env

Conversation

@dirk-thomas
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

@tfoote
Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants