Skip to content

Commit

Permalink
merge from devel
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Jan 10, 2024
2 parents ebad9c4 + 5051415 commit 406688b
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 246 deletions.
3 changes: 1 addition & 2 deletions src/radical/utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def env_prep(environment : Optional[Dict[str,str]] = None,
raise RuntimeError('error running "%s": %s' % (cmd, err))

env = env_read_lines(out.split('\n'))
# os.unlink(tmp_name)
os.unlink(tmp_name)

_env_cache[cache_md5] = env

Expand All @@ -402,7 +402,6 @@ def env_prep(environment : Optional[Dict[str,str]] = None,
#
# FIXME: files could also be cached and re-used (copied or linked)
if script_path:

env_write(script_path, env=env, unset=unset, pre_exec=pre_exec)

return env
Expand Down
Loading

0 comments on commit 406688b

Please sign in to comment.