diff --git a/template/scripts/docs_templating.sh b/template/scripts/docs_templating.sh.j2 similarity index 83% rename from template/scripts/docs_templating.sh rename to template/scripts/docs_templating.sh.j2 index 8468a971..4001b5bb 100755 --- a/template/scripts/docs_templating.sh +++ b/template/scripts/docs_templating.sh.j2 @@ -39,6 +39,8 @@ do done # Ensure this script is executable -chmod +x docs/modules/opensearch/examples/getting_started/getting_started.sh +chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/getting_started.sh" \ + || chmod +x "docs/modules/{[ operator.name }]/examples/getting_started/code/getting_started.sh" \ + || true echo "done"