which -> command -v
which is an external command, command -v is the equivalent shell built-in.
Replacing the calls to which with command -v removes a build time dependency.
Bug: https://bugs.gentoo.org/940563 Signed-off-by: Nowa Ammerlaan nowa-ammerlaan@riseup.net