-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Make non-system include paths accessible at runtime #19179
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,6 +89,10 @@ clean_environment() | |
| default_manpath="" | ||
| fi | ||
| fi | ||
| if [ -n "${ROOT_INCLUDE_PATH-}" ]; then | ||
| drop_from_path "$ROOT_INCLUDE_PATH" "@DEFAULT_ROOT_INCLUDE_PATH@" | ||
| ROOT_INCLUDE_PATH=$newpath | ||
hageboeck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| fi | ||
| } | ||
|
|
||
| set_environment() | ||
|
|
@@ -162,6 +166,14 @@ set_environment() | |
| else | ||
| JUPYTER_CONFIG_PATH=$ROOTSYS/etc/notebook:$JUPYTER_CONFIG_PATH; export JUPYTER_CONFIG_PATH | ||
| fi | ||
|
|
||
| if [ -z "${ROOT_INCLUDE_PATH-}" ]; then | ||
andresailer marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ROOT_INCLUDE_PATH=@DEFAULT_ROOT_INCLUDE_PATH@ | ||
| export ROOT_INCLUDE_PATH | ||
| else | ||
| ROOT_INCLUDE_PATH=@DEFAULT_ROOT_INCLUDE_PATH@:$ROOT_INCLUDE_PATH | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you consider this an issue if DEFAULT_ROOT_INCLUDE_PATH is empty? Not just here but in the other shell setups?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this should be an issue. This case is also covered by all GHA runners. |
||
| export ROOT_INCLUDE_PATH | ||
hageboeck marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| fi | ||
| } | ||
|
|
||
| getTrueShellExeName() { # mklement0 https://stackoverflow.com/a/23011530/7471760 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.