fix(scripts): allow docs_update_experiments.sh to be run on macOS (#14658)

This commit is contained in:
Mathias Fredriksson
2024-09-12 21:28:07 +00:00
committed by GitHub
parent 7ef6780d45
commit bf87c97ede
2 changed files with 13 additions and 0 deletions
+7
View File
@@ -108,6 +108,13 @@ dependencies() {
for dep in "$@"; do
if ! dependency_check "$dep"; then
log "ERROR: The '$dep' dependency is required, but is not available."
if isdarwin; then
case "$dep" in
gsed | gawk)
log "- brew install $dep"
;;
esac
fi
fail=1
fi
done