Remove grep flag causing error

Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
This commit is contained in:
Aaron
2023-02-23 08:50:51 -08:00
committed by GitHub
parent 6051199c7d
commit 2a853264cf

View File

@@ -994,7 +994,7 @@ case "${SHELL}" in
;;
esac
in_shell_profile=$(grep -qs "eval \"\$(${HOMEBREW_PREFIX}/bin/brew shellenv)\"" "${shell_profile}")
in_shell_profile=$(grep -s "eval \"\$(${HOMEBREW_PREFIX}/bin/brew shellenv)\"" "${shell_profile}")
# FIXME: figure out why this give a "command not found" error
# show different instructions on adding Homebrew to path based on if the user has already done so