1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

common: Support gpgconf.ctl also for BSDs.

* common/homedir.c (MYPROC_SELF_EXE): New.
(unix_rootdir): Use it here.  Also support GNUPG_BUILD_ROOT as
fallback.
--

In addition this adds a fallback method for AIX etc which do not have
an easy way to get the info.
This commit is contained in:
Werner Koch 2021-10-01 14:40:39 +02:00
parent ec847cf17f
commit dbe1b237a6
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 31 additions and 10 deletions

View file

@ -3912,6 +3912,12 @@ Operation is further controlled by a few environment variables:
loaded the Registry is tried and as last resort the native Windows
locale system is used.
@item GNUPG_BUILD_ROOT
@efindex GNUPG_BUILD_ROOT
This variable is only used by the regression test suite as a helper
under operating systems without proper support to figure out the
name of a process' text file.
@end table
When calling the gpg-agent component @command{@gpgname} sends a set of