Skip to content

Commit 0aff9ee

Browse files
author
Will
committed
tool/test: switch to posix-standard command -v, instead of which
1 parent f2256fd commit 0aff9ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tool/test/.ctx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ show-output() {
3838
{ test -n "$1" \
3939
&& test -d "$d" \
4040
&& test -f "$f" \
41-
&& which jq > /dev/null
41+
&& command -v jq > /dev/null
4242
} || return 1
4343

4444
sed "s|$d|d|g" "$f" \

0 commit comments

Comments
 (0)