ROOT profile file is not optimal.
I think, we have a small bug in creating root_env.sh
.
In the end it ends up with cd
while it would be better to have cd -
The reason is that cd
tries to move to $HOME in bash, and in singularity containers this folder is not available. Also moving to home is a weirs solution anyway (one should move back from where the command was executed).