summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-09-30 14:45:44 +0200
committerWerner Koch <wk@gnupg.org>2008-09-30 14:45:44 +0200
commit0c21ded87b28f120230d97e23577e5dd66acf46e (patch)
treefb221fa3d2799ca53071a44572209a97a31c840c /tools
parentAdd gpgsm server command GETINFO agent-check. (diff)
downloadgnupg2-0c21ded87b28f120230d97e23577e5dd66acf46e.tar.xz
gnupg2-0c21ded87b28f120230d97e23577e5dd66acf46e.zip
Extend --list-dirs to print the bindir.
Diffstat (limited to 'tools')
-rw-r--r--tools/ChangeLog4
-rw-r--r--tools/gpgconf.c2
2 files changed, 6 insertions, 0 deletions
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 <wk@g10code.com>
+
+ * gpgconf.c (main) <aListDirs>: Print the bindir.
+
2008-08-06 Marcus Brinkmann <marcus@g10code.de>
* 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;
}