[readme] use "$HOME" instead of hardcoded "/home/user"

For now, only "test/fast/Unit tests/nvm_change_path" uses "/home/user".
This commit is contained in:
Mozi
2026-03-05 05:42:57 -05:00
committed by Jordan Harband
parent b4e70cdc2a
commit b0f82ac1b2

View File

@@ -146,7 +146,7 @@ When invoking bash as a non-interactive shell, like in a Docker container, none
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Create a script file sourced by both interactive and non-interactive bash shells
ENV BASH_ENV /home/user/.bash_env
ENV BASH_ENV $HOME/.bash_env
RUN touch "${BASH_ENV}"
RUN echo '. "${BASH_ENV}"' >> ~/.bashrc