diff options
author | Piraty <piraty1@inbox.ru> | 2022-02-24 22:15:00 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2022-03-23 14:46:48 +0000 |
commit | 332937397dbc7d4a7dde3332c58110b4dac7ca75 (patch) | |
tree | 39974e164f0f0b684e0135f34e01ab56afd310e2 | |
parent | 33011cd888c7cf6030dac0d72f6ea7af350421ca (diff) | |
download | neon-git-332937397dbc7d4a7dde3332c58110b4dac7ca75.tar.gz |
autogen.sh: use 'command -v' instead of 'which'
which is not standardized and can even be considered problematic [1]
[1] https://lwn.net/Articles/874049/
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ if test ! -f .version; then fi set -e printf "libtoolize... " -LIBTOOLIZE=${LIBTOOLIZE:-`which libtoolize || which glibtoolize`} +: "${LIBTOOLIZE:="$(command -v libtoolize || command -v glibtoolize)"}" if ${LIBTOOLIZE} --help | grep -- --install > /dev/null; then ${LIBTOOLIZE} --copy --force --install >/dev/null; else |