Skip to content

Commit c3b2e5c

Browse files
committed
fixed sed in script
Signed-off-by: Lior Sventitzky <[email protected]>
1 parent 9ccc57f commit c3b2e5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/init-topics-and-clients.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ echo "Symlink to clients has been created at ./build-clients "
7676
# Check if the clients directory exists and set the `clients_built` flag in frontmatter
7777
if [ -d "build-clients" ]; then
7878
# Set `clients_built = true` if the build-clients directory exists
79-
sed -i 's/clients_built = false/clients_built = true/' content/clients/_index.md
79+
sed 's/clients_built = false/clients_built = true/' content/clients/_index.md > temp && mv temp content/clients/_index.md
8080
fi
8181

8282
echo "Updated clients_built flag in frontmatter."

content/clients/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title = "Client Libraries"
33
template = "client-list.html"
44
[extra]
5-
clients_built = true
5+
clients_built = false
66
recommended_clients_paths = [
77
"/python/valkey-GLIDE.json",
88
"/python/valkey-py.json",

0 commit comments

Comments
 (0)