Closed kuteninja closed 2 years ago
Particularly on gitlab-runner this fixes an issue where the gitlab-runner shows as not installed when it was installed via brew, it will also allow PATH and other variables to act the same as if you enter via an interactive ssh shell
The -l option makes "bash act as if it had been invoked as a login shell". Login shells read certain initialization files from your home directory, such as .bash_profile.
More info at: https://www.gnu.org/software/bash/manual/html_node/Invoking-Bash.html