From 3f2c6c8ffe04eed08f3a994a387ff00cf98434c5 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Mon, 5 Feb 2024 14:21:55 +0100 Subject: [PATCH] fix(docs/demos): make sure sed works on MacOS as well Signed-off-by: Szilard Parrag --- docs/demos/openobserve/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/demos/openobserve/start.sh b/docs/demos/openobserve/start.sh index c936d7cd..dedb4a8a 100755 --- a/docs/demos/openobserve/start.sh +++ b/docs/demos/openobserve/start.sh @@ -123,7 +123,7 @@ sleep 5 # TODO: use yq instead of sed OO_ORG_PWD=$(curl --silent localhost:5080/api/default/organizations/passcode -v --user root@example.com:Complexpass#123 | jq .data.passcode -r) OO_TOKEN=$(echo -n root@example.com:$OO_ORG_PWD | base64) -sed -i "s/Authorization.*/Authorization:\ \"Basic ${OO_TOKEN}\"/" ./demo.yaml +sed -i '' -e "s/Authorization.*/Authorization:\ \"Basic ${OO_TOKEN}\"/" ./demo.yaml # Install prerequisites