Skip to content
Snippets Groups Projects
Commit b628c055 authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

put tmp dir in build dir unless a absolute pat is set

parent c3b2d73c
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,10 @@ MEMTOTAL = os.environ.get("MEMTOTAL", config['memory_total_gb'])
MEMCORE = os.environ.get("MEMCORE", config['memory_per_core_gb'])
# temporary directory will be stored inside the OUTPUTDIR directory
# unless a absolute path is set
TMPDIR = os.environ.get("TMPDIR", config['tmp_dir'])
if not os.path.isabs(TMP_DIR):
TMPDIR = os.path.join(OUTPUTDIR, TMP_DIR)
def prepare_environment(stepname):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment