mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-02-01 02:03:18 -05:00
Add EOF comment to snippet that is added to bash profile.
This commit is contained in:
@@ -157,7 +157,13 @@ mkdir -p "$HOME/.gvm/gradle"
|
||||
|
||||
echo "Attempting to update bash profile..."
|
||||
|
||||
SNIPPET='[[ -s "$HOME/.gvm/bin/gvm-init.sh" ]] && source "$HOME/.gvm/bin/gvm-init.sh"'
|
||||
|
||||
SNIPPET=$( cat << EOF
|
||||
#THIS MUST BE AT THE END OF THE FILE FOR GVM TO WORK!!!
|
||||
[[ -s "$HOME/.gvm/bin/gvm-init.sh" ]] && source "$HOME/.gvm/bin/gvm-init.sh"
|
||||
EOF
|
||||
)
|
||||
|
||||
BASH_PROFILE="$HOME/.bash_profile"
|
||||
PROFILE="$HOME/.profile"
|
||||
BASHRC="$HOME/.bashrc"
|
||||
|
||||
Reference in New Issue
Block a user