diff --git a/src/check-def.sh b/src/check-def.sh index 9008c58..f6e0d79 100755 --- a/src/check-def.sh +++ b/src/check-def.sh @@ -3,7 +3,7 @@ LC_ALL=C export LC_ALL -if which nm 2>/dev/null >/dev/null; then +if command -v nm 2>/dev/null >/dev/null; then : else echo "'nm' not found; skipping test" diff --git a/src/check-plt.sh b/src/check-plt.sh index 5a9dae1..41c35aa 100755 --- a/src/check-plt.sh +++ b/src/check-plt.sh @@ -3,7 +3,7 @@ LC_ALL=C export LC_ALL -if which readelf 2>/dev/null >/dev/null; then +if command -v readelf 2>/dev/null >/dev/null; then : else echo "'readelf' not found; skipping test"