[PATCH] configure: consistent command -v usage

David Bremner david at tethera.net
Thu Feb 19 10:17:41 PST 2015


Tomi Ollila <tomi.ollila at iki.fi> writes:

> When the shell builtin `command -v` operates normally, it either
> prints the path of the arg given to it and returns zero -- or it
> returns nonzero and prints nothing.
> In abnormal situations something might be printed to stderr and
> in that case we want to know about it; therefore the used
> command -v stderr redirections to /dev/null have been removed.
>
> The `hash` (builtin) command in ksh returns zero even the arg
> given to is is not found in path. For that and for consistency
> the one appearance of it has been converted to `command -v`.
> ---
>
> marked trivial
>

and pushed

d


More information about the notmuch mailing list