From 14c547fbf91348131c612514fb8a68f8c569956a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 09:29:14 +0100 Subject: [PATCH] Update `make docs` procedure (#2629) Co-authored-by: grafanabot Co-authored-by: Jack Baldry --- docs/make-docs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/make-docs b/docs/make-docs index bc34f720..8d55ffaa 100755 --- a/docs/make-docs +++ b/docs/make-docs @@ -6,7 +6,11 @@ # [Semantic versioning](https://semver.org/) is used to help the reader identify the significance of changes. # Changes are relevant to this script and the support docs.mk GNU Make interface. -# ## Unreleased +# ## 4.1.1 (2023-07-20) + +# ### Fixed + +# - Replaced use of `realpath` with POSIX compatible alternative to determine default value for REPOS_PATH. # ## 4.1.0 (2023-06-16) @@ -158,7 +162,7 @@ EOF exit 1 fi -readonly REPOS_PATH="${REPOS_PATH:-$(realpath "$(git rev-parse --show-toplevel)/..")}" +readonly REPOS_PATH="${REPOS_PATH:-$(cd "$(git rev-parse --show-toplevel)/.." && echo "${PWD}")}" if [ -z "${REPOS_PATH}" ]; then cat <&2 @@ -527,7 +531,7 @@ fi ${WEBSITE_EXEC} EOF chmod +x "${tempfile}" - volumes="${volumes} --volume=$(realpath "${tempfile}"):/entrypoint" + volumes="${volumes} --volume=${tempfile}:/entrypoint" readonly volumes echo