diff --git a/modules/03-install-brew.sh b/modules/03-install-brew.sh index 060e222..f6b111e 100755 --- a/modules/03-install-brew.sh +++ b/modules/03-install-brew.sh @@ -90,7 +90,8 @@ function ensureLocalBinFolder() { } function getHomebrewRepositoryPath() { - if [[ "${uname_machine}" == "arm64" ]]; then + local uname_machine=$(/usr/bin/uname -m) + if [[ ${uname_machine} == "arm64" ]]; then print -- "/opt/homebrew" else print "/usr/local/Homebrew"