Skip to content

Commit 4cb2e9d

Browse files
committed
Allow homebrew to be installed in non-standard locations
Closes #197
1 parent 41eacbb commit 4cb2e9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/includes/compatibility.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
exit(1);
1818
}
1919

20-
if (exec('which brew') !== '/usr/local/bin/brew' && ! $inTestingEnvironment) {
21-
echo 'Valet requires Brew to be installed on your Mac.';
20+
if (exec('which brew') == '' && ! $inTestingEnvironment) {
21+
echo 'Valet requires Homebrew to be installed on your Mac.';
2222

2323
exit(1);
2424
}

0 commit comments

Comments
 (0)