Skip to content

Commit 8a1cff0

Browse files
committed
Which prints an error to stdout whereas command doesn't
1 parent a8f9bff commit 8a1cff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tools/list-contributors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
# For compat with OSX which has a non-gnu sed which doesn't support -z
3-
SED=`(which gsed || which sed) 2> /dev/null`
3+
SED=`(command -v gsed || command -v sed) 2> /dev/null`
44

55
if [ $# != 1 ]; then
66
echo "usage: $0 rev0..rev1"

0 commit comments

Comments
 (0)