Use $(brew --prefix) to handle both intel and M1 (ARM) binaries in homebrew.
requested to merge treacher/gitlab-development-kit:treacherm-add-apple-silicon-friendly-command into main
What does this Merge Request do and why?
Update the path to postgresql to use brew prefix
as the path changes between ARM and intel binaries. The current documentation only supports intel macs.
Merge Request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Documentation added/updated, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.