Skip to content

Commit 0ba270e

Browse files
author
Aiden2244
committed
added homebrew env variable and removed deprecated flag
1 parent ab20c00 commit 0ba270e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup/mac/binary_distribution/install_prereqs.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ if [[ "${with_update}" -eq 1 ]]; then
5959
brew update || (sleep 30; brew update)
6060
fi
6161

62-
brew bundle --file="${BASH_SOURCE%/*}/Brewfile" --no-lock
62+
# Do not genereate a brew lockfile. This behavior was previously implemented
63+
# with the now deprecated '--no-lock' flag. This env variable allows
64+
# for the behavior to be consistent without using the flag.
65+
export HOMEBREW_BUNDLE_NO_LOCK=1
66+
brew bundle --file="${BASH_SOURCE%/*}/Brewfile"
6367

6468
if ! command -v pip3.12 &>/dev/null; then
6569
echo 'ERROR: pip3.12 is NOT installed. The post-install step for the python@3.12 formula may have failed.' >&2

0 commit comments

Comments
 (0)