aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authormeat <meat@device.domain>2024-10-03 12:48:31 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-10-03 21:37:02 +0200
commit9880c1ba603a6080b2493c7c399ae36d656a9834 (patch)
tree1e77dd4178322d7924578c8f63b64dc7545851d8 /autogen.sh
parente7fee996f1b634aa5ef0a0a20f0be239c83602b8 (diff)
Use command -v instead of which
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index ab7dc444..2ae55eb7 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,7 +15,7 @@
# Required binaries check
#
check_bin_file(){
- which $1 > /dev/null 2>&1
+ command -v $1 > /dev/null 2>&1
if [ $? = 0 ]; then
return 0
else