Skip to content

Commit 4ac7817

Browse files
commit
1 parent 73c8a65 commit 4ac7817

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

docs/DeploymentGuide.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,8 @@ Run schema registration first to:
323323
**macOS/Linux:**
324324

325325
```bash
326-
for script in ./infra/scripts/register_schemas.sh ./infra/scripts/post_deployment.sh; do
327-
tmp="${script}.tmp"
328-
awk '{ sub(/\r$/, ""); print }' "$script" > "$tmp" && mv "$tmp" "$script"
329-
done
326+
sed -i 's/\r$//' ./infra/scripts/register_schemas.sh
327+
sed -i 's/\r$//' ./infra/scripts/post_deployment.sh
330328
bash ./infra/scripts/register_schemas.sh
331329
```
332330

@@ -350,10 +348,8 @@ After schema registration completes, upload the sample bundles as a separate exp
350348
**macOS/Linux:**
351349

352350
```bash
353-
for script in ./infra/scripts/upload_sample_data.sh ./infra/scripts/post_deployment.sh; do
354-
tmp="${script}.tmp"
355-
awk '{ sub(/\r$/, ""); print }' "$script" > "$tmp" && mv "$tmp" "$script"
356-
done
351+
sed -i 's/\r$//' ./infra/scripts/upload_sample_data.sh
352+
sed -i 's/\r$//' ./infra/scripts/post_deployment.sh
357353
bash ./infra/scripts/upload_sample_data.sh
358354
```
359355

@@ -370,10 +366,8 @@ Run authentication setup as an explicit step after post-deployment data setup:
370366
**macOS/Linux:**
371367

372368
```bash
373-
for script in ./infra/scripts/setup_auth.sh ./infra/scripts/configure_auth.sh; do
374-
tmp="${script}.tmp"
375-
awk '{ sub(/\r$/, ""); print }' "$script" > "$tmp" && mv "$tmp" "$script"
376-
done
369+
sed -i 's/\r$//' ./infra/scripts/setup_auth.sh
370+
sed -i 's/\r$//' ./infra/scripts/configure_auth.sh
377371
bash ./infra/scripts/setup_auth.sh
378372
```
379373

0 commit comments

Comments
 (0)