From 45817577a08b406e292c4de9f0203f534063cbd3 Mon Sep 17 00:00:00 2001 From: Mahadevuni Naveen Kumar Date: Fri, 6 Oct 2023 11:17:23 +0530 Subject: [PATCH] Correct INSTALL_PREFIX for MacOS --- scripts/setup-macos.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/setup-macos.sh b/scripts/setup-macos.sh index 83d8990603ea..674b6cbd9e8b 100755 --- a/scripts/setup-macos.sh +++ b/scripts/setup-macos.sh @@ -65,6 +65,8 @@ function update_brew { BREW_PATH=${BREW_PATH:-$DEFAULT_BREW_PATH} $BREW_PATH update --auto-update --verbose $BREW_PATH developer off + INSTALL_PREFIX=${INSTALL_PREFIX:-$($BREW_PATH --prefix)} + echo ${INSTALL_PREFIX} } function install_build_prerequisites {