Home GnuPG
Diffusion GnuPG 49d589c409cc

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
rG3828dd7a4067: common: Add keyword sysconfdir to the optional gpgconf.ctl file.
Branches
Unknown
Tags
Unknown