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.
This commit is contained in:
Colin Walters committed 2014-01-30 19:32:59 -05:00
1 parent f36cc6a44c
commit c7bcfc1c61
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -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,