diff options
author | matt335672 <30179339+matt335672@users.noreply.github.com> | 2021-12-02 13:27:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 13:27:34 +0300 |
commit | 64df536cba3d64d63f7eaa6bac1bfea77eeb478d (patch) | |
tree | 1eb92ba55e995b3daf0969fea2542e8450d017ed | |
parent | 6cb61ab7ca51520e6a5f18db47669e0f6e2ecee8 (diff) |
Replace 'which' with 'command -v' (#47)
As per neutrinolabs/xrdp#2067
-rwxr-xr-x | bootstrap | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" |