diff options
author | matt335672 <30179339+matt335672@users.noreply.github.com> | 2021-12-02 13:25:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 13:25:47 +0300 |
commit | b44f2fac46dc818c441dd540cafb1fdf332ab456 (patch) | |
tree | 7d6e498c8853f269086364c9b79bb75672ae37b8 | |
parent | cc66c2c55d628732a87becfb0f4d215d5480874c (diff) |
Replace 'which' with 'command -v' (#18)
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" |