[PATCH 1/3] use GPG_NAME in how_to_fix_the_trustdb()
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Mar 30 17:51:01 CEST 2016
* g10/trustdb.c: (how_to_fix_the_trustdb) use GPG_NAME explicitly
instead of hardcoding gpg2
---
g10/trustdb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/g10/trustdb.c b/g10/trustdb.c
index 8f2b2cb..81d0a1a 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -421,13 +421,13 @@ how_to_fix_the_trustdb ()
log_info (_("You may try to re-create the trustdb using the commands:\n"));
log_info (" cd %s\n", default_homedir ());
- log_info (" gpg2 --export-ownertrust > otrust.tmp\n");
+ log_info (" " GPG_NAME " --export-ownertrust > otrust.tmp\n");
#ifdef HAVE_W32_SYSTEM
log_info (" del %s\n", name);
#else
log_info (" rm %s\n", name);
#endif
- log_info (" gpg2 --import-ownertrust < otrust.tmp\n");
+ log_info (" " GPG_NAME " --import-ownertrust < otrust.tmp\n");
log_info (_("If that does not work, please consult the manual\n"));
}
--
2.8.0.rc3
More information about the Gnupg-devel
mailing list