Actually invoke uname when getting path
This commit is contained in:
committed by
T. R. Bernstein
parent
582f3773ae
commit
e6adb4b6ff
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user