We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d4bc0 commit cde3beaCopy full SHA for cde3bea
1 file changed
generate-results.sh
@@ -5,8 +5,11 @@
5
6
# This is needed on Mac OS. Do `brew install coreutils`.
7
[ -n "$HOMEBREW_PREFIX" ] && PATH="${HOMEBREW_PREFIX}/opt/coreutils/libexec/gnubin:${PATH}"
8
-if command -v gsed >/dev/null 2>&1
+if ! command -v gsed >/dev/null 2>&1
9
then
10
+ echo "On macOS, please install GNU sed through homebrew."
11
+ exit 1
12
+else
13
shopt -s expand_aliases
14
alias sed='gsed'
15
fi
0 commit comments