1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 00:20:08 +01:00

Allow homebrew to be installed in non-standard locations

Closes #197
This commit is contained in:
Adam Wathan
2016-10-22 11:07:42 -04:00
parent 41eacbb983
commit 4cb2e9d331

View File

@@ -17,8 +17,8 @@
exit(1);
}
if (exec('which brew') !== '/usr/local/bin/brew' && ! $inTestingEnvironment) {
echo 'Valet requires Brew to be installed on your Mac.';
if (exec('which brew') == '' && ! $inTestingEnvironment) {
echo 'Valet requires Homebrew to be installed on your Mac.';
exit(1);
}