configure: use command -v rather than which(1).

This commit is contained in:
Juan RP authored and Duncan Overbruck committed 2021-06-26 17:07:16 +02:00
1 parent 778dbab22b
commit 18a2a2b0a7
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -106,7 +106,7 @@ done
_which()
{
x="$(which "$1" 2>/dev/null)"
x="$(command -v "$1" 2>/dev/null)"
if [ -n "$x" ]; then
echo "$x"
return 0