Skip to content

Commit 361793a

Browse files
committed
Use HOMEBREW_PREFIX
1 parent 19677d5 commit 361793a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

bin/cz

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/bin/bash
22
set -eu
33

4-
homebrew_dir="/opt/homebrew"
5-
brew="$homebrew_dir/bin/brew"
4+
brew="${HOMEBREW_PREFIX:-/opt/homebrew}/bin/brew"
65

76
env -i HOME="$HOME" GITHUB_ACTIONS="${GITHUB_ACTIONS:-}" /bin/bash --noprofile --norc << EOF
87
eval "\$(/usr/libexec/path_helper -s)"

0 commit comments

Comments
 (0)