Skip to content

TEMPLATE.sh rewrites $HOME which has already been mkdir'ed by tools/build.sh #54

Closed
wwwutz opened this issue Apr 16, 2019 · 0 comments · Fixed by #58
Closed

TEMPLATE.sh rewrites $HOME which has already been mkdir'ed by tools/build.sh #54

wwwutz opened this issue Apr 16, 2019 · 0 comments · Fixed by #58

Comments

@wwwutz
Copy link
Contributor

wwwutz commented Apr 16, 2019

tools/build.sh line 62 says

export HOME=/scratch/local/build_home;
mkdir -p $HOME; chown build:build $HOME

but TEMPLATE.sh line 17 rewrites it to

export HOME=$BUILD_TMPDIR/home

leaving /scratch/local/build_home lingering as orphan in /scratch/local

When fixing, we should keep in mind we have systems with /scratch/local{,2} pointing to the same partition.

donald added a commit that referenced this issue Apr 18, 2019
Do not create a $HOME. It is not used, because the build scripts,
cloned from TEMPLATE.sh, also create a empty HOME and overwrite
the environment variable again.

Fixes #54.
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant