Use `command -v` instead of `which` command
as this is a better and more portable practice
Brought over from GitLab commit 80faff93 by @weakcamel
as this is a better and more portable practice
Brought over from GitLab commit 80faff93 by @weakcamel