summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-gpg-verifier.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-01-30 19:32:59 -0500
committerColin Walters <walters@verbum.org>2014-01-30 19:32:59 -0500
commitc7bcfc1c610a9553757830bcd538715f0e06ba97 (patch)
tree4f95476ce323e1c2d4032dd4fbcc74576d25b05d /src/libostree/ostree-gpg-verifier.c
parentf36cc6a44ce8c495ff79aa2a9a11213bd9d413c8 (diff)
downloadostree-c7bcfc1c610a9553757830bcd538715f0e06ba97.tar.gz
build: Look for /usr/bin/gpgv2 vs /usr/bin/gpgv
For some reason, RHEL has gpgv, but Fedora doesn't. We need to detect which to use, since presumably Debian only has gpgv.
Diffstat (limited to 'src/libostree/ostree-gpg-verifier.c')
-rw-r--r--src/libostree/ostree-gpg-verifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-gpg-verifier.c b/src/libostree/ostree-gpg-verifier.c
index 8d363eb1..d89c39c9 100644
--- a/src/libostree/ostree-gpg-verifier.c
+++ b/src/libostree/ostree-gpg-verifier.c
@@ -183,7 +183,7 @@ _ostree_gpg_verifier_check_signature (OstreeGpgVerifier *self,
g_main_context_push_thread_default (maincontext);
- context = gs_subprocess_context_newv ("gpgv", NULL);
+ context = gs_subprocess_context_newv (GPGVPATH, NULL);
gs_subprocess_context_set_stdin_disposition (context,
GS_SUBPROCESS_STREAM_DISPOSITION_NULL);
gs_subprocess_context_set_stdout_disposition (context,