core: Support the new macOS Homebrew location.
* src/posix-util.c (find_executable): Extend the path. -- GnuPG-bug-id: 6440
This commit is contained in:
parent
a14155d2c1
commit
7351ef32ce
@ -144,7 +144,8 @@ find_executable (const char *pgm)
|
|||||||
/* On apple, especially when started through gpgme-json via
|
/* On apple, especially when started through gpgme-json via
|
||||||
the browser interface we should look into some additional
|
the browser interface we should look into some additional
|
||||||
fallback paths. */
|
fallback paths. */
|
||||||
const char *additional_path = "/usr/local/bin:/usr/local/MacGPG2/bin";
|
const char *additional_path
|
||||||
|
= "/usr/local/bin:/usr/local/MacGPG2/bin:/opt/homebrew/bin";
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
ret = walk_path_str (additional_path, pgm);
|
ret = walk_path_str (additional_path, pgm);
|
||||||
|
Loading…
Reference in New Issue
Block a user