Skip to content

Commit 39ffa46

Browse files
committed
fix: Replace remaining bash 4+ substitution in heredoc
- Fixed PACKAGE_NAME parameter expansion in index.html heredoc - Uses PACKAGE_NAME_LOWER variable for bash 3.2 compatibility
1 parent 052f081 commit 39ffa46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/publish-docc-to-github-pages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ if [ -n "$STATIC_DOCS_DIR" ] && [ -d "$STATIC_DOCS_DIR" ]; then
199199
window.location.href = "/${DOCS_DIR}/documentation/${PACKAGE_NAME_LOWER}/";
200200
</script>
201201
</head>
202-
<body>
203-
<p>Redirecting to <a href="/${DOCS_DIR}/documentation/${PACKAGE_NAME,,}/">${PACKAGE_NAME} Documentation</a>...</p>
202+
<body>
203+
<p>Redirecting to <a href="/${DOCS_DIR}/documentation/${PACKAGE_NAME_LOWER}/">${PACKAGE_NAME} Documentation</a>...</p>
204204
</body>
205205
</html>
206206
EOF

0 commit comments

Comments
 (0)