Home GnuPG
Diffusion GnuPG dbe1b237a652

common: Support gpgconf.ctl also for BSDs.

Description

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.

Details

Provenance
wernerAuthored on Oct 1 2021, 2:40 PM
Parents
rGec847cf17fa8: common: Add keyword sysconfdir to the optional gpgconf.ctl file.
Branches
Unknown
Tags
Unknown