Skip to content

Commit

Permalink
Merge pull request #18302 from Homebrew/silence-shellenv-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab authored Sep 10, 2024
2 parents a5b2dc5 + 4f03226 commit d20fdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/shellenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ homebrew-shellenv() {

if [[ ! -f "${HOMEBREW_PATHS_FILE}" ]]
then
printf '%s/bin\n%s/sbin\n' "${HOMEBREW_PREFIX}" "${HOMEBREW_PREFIX}" >"${HOMEBREW_PATHS_FILE}" 2>/dev/null
printf '%s/bin\n%s/sbin\n' "${HOMEBREW_PREFIX}" "${HOMEBREW_PREFIX}" 2>/dev/null >"${HOMEBREW_PATHS_FILE}"
fi

if [[ -r "${HOMEBREW_PATHS_FILE}" ]]
Expand Down

0 comments on commit d20fdad

Please sign in to comment.