From bad5d41439e870db052da42680872382fed35295 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Thu, 30 Sep 2021 10:12:24 +0200 Subject: [PATCH] Add /opt/homebrew/bin to the helper search path when built under Mac Homebrew --- src/common/rclinit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/rclinit.cpp b/src/common/rclinit.cpp index e5539949..42572d3a 100644 --- a/src/common/rclinit.cpp +++ b/src/common/rclinit.cpp @@ -312,7 +312,7 @@ RclConfig *recollinit(int flags, #if defined(MACPORTS) PATH = string("/opt/local/bin/") + ":" + PATH; #elif defined(HOMEBREW) - PATH = string("/usr/local/bin/") + ":" + PATH; + PATH = string("/opt/homebrew/bin:/usr/local/bin/") + ":" + PATH; #else // Native qt build. Add our own directory to the path so that // recoll finds recollindex pkgdatadir: