From 0c21ded87b28f120230d97e23577e5dd66acf46e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 30 Sep 2008 12:45:44 +0000 Subject: [PATCH] Extend --list-dirs to print the bindir. --- tools/ChangeLog | 4 ++++ tools/gpgconf.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/tools/ChangeLog b/tools/ChangeLog index 6e8d92354..297e5eb4b 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,3 +1,7 @@ +2008-09-30 Werner Koch + + * gpgconf.c (main) : Print the bindir. + 2008-08-06 Marcus Brinkmann * gpgconf-comp.c (gc_options_gpgsm): Change type of keyserver diff --git a/tools/gpgconf.c b/tools/gpgconf.c index bf9767146..9054e29b3 100644 --- a/tools/gpgconf.c +++ b/tools/gpgconf.c @@ -263,6 +263,8 @@ main (int argc, char **argv) get_outfp (&outfp); fprintf (outfp, "sysconfdir:%s\n", gc_percent_escape (gnupg_sysconfdir ())); + fprintf (outfp, "bindir:%s\n", + gc_percent_escape (gnupg_bindir ())); break; }