We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ef6780 commit bf87c97Copy full SHA for bf87c97
scripts/lib.sh
@@ -108,6 +108,13 @@ dependencies() {
108
for dep in "$@"; do
109
if ! dependency_check "$dep"; then
110
log "ERROR: The '$dep' dependency is required, but is not available."
111
+ if isdarwin; then
112
+ case "$dep" in
113
+ gsed | gawk)
114
+ log "- brew install $dep"
115
+ ;;
116
+ esac
117
+ fi
118
fail=1
119
fi
120
done
scripts/release/docs_update_experiments.sh
@@ -12,6 +12,12 @@ set -euo pipefail
12
source "$(dirname "${BASH_SOURCE[0]}")/../lib.sh"
13
cdroot
14
15
+if isdarwin; then
16
+ dependencies gsed gawk
17
+ sed() { gsed "$@"; }
18
+ awk() { gawk "$@"; }
19
+fi
20
+
21
# From install.sh
22
echo_latest_stable_version() {
23
# https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c#gistcomment-2758860
0 commit comments