Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenFOAM-plus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Development
OpenFOAM-plus
Commits
328d83dd
Commit
328d83dd
authored
6 years ago
by
Mark OLESEN
Browse files
Options
Downloads
Patches
Plain Diff
CONFIG: do not touch LD_PRELOAD contents at all (
#1357
)
parent
4f94b35a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
etc/config.csh/setup
+1
-5
1 addition, 5 deletions
etc/config.csh/setup
etc/config.sh/setup
+0
-6
0 additions, 6 deletions
etc/config.sh/setup
etc/config.sh/unset
+0
-1
0 additions, 1 deletion
etc/config.sh/unset
with
1 addition
and
12 deletions
etc/config.csh/setup
+
1
−
5
View file @
328d83dd
...
...
@@ -122,7 +122,7 @@ end
# Clean standard environment variables (PATH, MANPATH, LD_LIBRARY_PATH)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Prevent local variables from shadowing setenv variables
unset
PATH MANPATH LD_LIBRARY_PATH
LD_PRELOAD
unset
PATH MANPATH LD_LIBRARY_PATH
if
(!
$?
LD_LIBRARY_PATH
)
setenv LD_LIBRARY_PATH
if
(!
$?
MANPATH
)
setenv MANPATH
...
...
@@ -167,10 +167,6 @@ if ( $?MANPATH ) then
setenv MANPATH
"
${
MANPATH
}
:"
endif
if
(
$?
LD_PRELOAD
)
then
_foamClean LD_PRELOAD
endif
# Cleanup temporary information
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
This diff is collapsed.
Click to expand it.
etc/config.sh/setup
+
0
−
6
View file @
328d83dd
...
...
@@ -153,12 +153,6 @@ then
MANPATH
=
"
${
MANPATH
}
:"
fi
if
[
-n
"
$LD_PRELOAD
"
]
then
export
LD_PRELOAD
_foamClean LD_PRELOAD
fi
# Cleanup temporary information
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
This diff is collapsed.
Click to expand it.
etc/config.sh/unset
+
0
−
1
View file @
328d83dd
...
...
@@ -147,7 +147,6 @@ then
fi
[
-n
"
$LD_LIBRARY_PATH
"
]
||
unset
LD_LIBRARY_PATH
[
-n
"
$LD_PRELOAD
"
]
||
unset
LD_PRELOAD
[
-n
"
$MANPATH
"
]
||
unset
MANPATH
#------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment