Skip to content

Commit

Permalink
fix(docs/demos): make sure sed works on MacOS as well
Browse files Browse the repository at this point in the history
Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
  • Loading branch information
OverOrion committed Feb 5, 2024
1 parent ed504a4 commit 3f2c6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/demos/openobserve/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f2c6c8

Please sign in to comment.