Skip to content
Snippets Groups Projects
Commit 6737b80d authored by Mick Jordan's avatar Mick Jordan
Browse files

unset R_HOME after getting ldpaths

parent 9dffec70
Branches
No related tags found
No related merge requests found
......@@ -65,6 +65,7 @@ def _get_ldpaths(lib_env_name):
try:
proc = subprocess.Popen(command, stdout=subprocess.PIPE)
del os.environ['R_HOME']
for line in proc.stdout:
(key, _, value) = line.partition("=")
if key == lib_env_name:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment