[PATCH v2 06/16] Prefer gpg2 in the test suite if available
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sun Jan 24 08:03:22 PST 2016
On Sun 2016-01-24 10:25:26 -0500, Tomi Ollila wrote:
> On Wed, Jan 20 2016, Daniel Kahn Gillmor <dkg at fifthhorseman.net> wrote:
>> --- a/test/test-lib.sh
>> +++ b/test/test-lib.sh
>> @@ -85,6 +85,13 @@ unset GREP_OPTIONS
>> # For emacsclient
>> unset ALTERNATE_EDITOR
>>
>> +# choose the preferred GnuPG binary:
>> +if hash gpg2 2> /dev/null; then
>
> For consistency, instead of hash ... 2>/dev/null, use command -v >/dev/null
gotcha, i found several other instances of "command -v $whatever >
/dev/null" in the codebase already, so i'll stick with that. updated in
my local copy now.
--dkg
More information about the notmuch
mailing list