Skip to content

Commit

Permalink
src/linkcheck.sh: use command -v instead of which
Browse files Browse the repository at this point in the history
  • Loading branch information
austin987 committed Aug 5, 2018
1 parent 429a43e commit cfc9cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linkcheck.sh
Expand Up @@ -15,7 +15,7 @@ passes=0
errors=0

check_deps() {
if ! test -x "$(which curl 2>/dev/null)"; then
if ! test -x "$(command -v curl 2>/dev/null)"; then
echo "Please install curl"
exit 1
fi
Expand Down

0 comments on commit cfc9cf3

Please sign in to comment.