Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/librfxcodec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt335672 <30179339+matt335672@users.noreply.github.com>2021-12-02 13:27:34 +0300
committerGitHub <noreply@github.com>2021-12-02 13:27:34 +0300
commit64df536cba3d64d63f7eaa6bac1bfea77eeb478d (patch)
tree1eb92ba55e995b3daf0969fea2542e8450d017ed
parent6cb61ab7ca51520e6a5f18db47669e0f6e2ecee8 (diff)
Replace 'which' with 'command -v' (#47)
As per neutrinolabs/xrdp#2067
-rwxr-xr-xbootstrap8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap b/bootstrap
index a5ef9dd..7d6b43e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,27 +1,27 @@
#!/bin/sh
-which autoconf
+command -v autoconf
if ! test $? -eq 0
then
echo "error, install autoconf"
exit 1
fi
-which automake
+command -v automake
if ! test $? -eq 0
then
echo "error, install automake"
exit 1
fi
-which libtool || which libtoolize
+command -v libtool || command -v libtoolize
if ! test $? -eq 0
then
echo "error, install libtool"
exit 1
fi
-which pkg-config
+command -v pkg-config
if ! test $? -eq 0
then
echo "error, install pkg-config"