Skip to content

Commit

Permalink
Use separate echo-es in post-install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Oct 26, 2024
1 parent 77de84a commit ff05a18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1059,8 +1059,9 @@ EOS
fi
else
cat <<EOS
- Run these two commands in your terminal to add Homebrew to your ${tty_bold}PATH${tty_reset}:
printf '%s\n' '' 'eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)"' >> ${shell_rcfile}
- Run these commands in your terminal to add Homebrew to your ${tty_bold}PATH${tty_reset}:
echo >> ${shell_rcfile}
echo 'eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)"' >> ${shell_rcfile}
eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)"
EOS
fi
Expand Down

0 comments on commit ff05a18

Please sign in to comment.