From c7bcfc1c610a9553757830bcd538715f0e06ba97 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 30 Jan 2014 19:32:59 -0500 Subject: 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. --- src/libostree/ostree-gpg-verifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libostree/ostree-gpg-verifier.c') 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, -- cgit v1.2.1