ch-run: rewrite $HOME if --no-home not specified
Right now $HOME
is whatever was in the environment where ch-run
was invoked. Thus, it may be incorrect within the container if not /home/$USER
. Rewrite it to the latter unless --no-home
is specified.
This will fix the Spack tests failing (see also #130 (closed)).