From 3fe74be1bde47b9b88b9d92952006cf887003dc6 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Thu, 30 Oct 2025 15:44:56 +0100 Subject: [PATCH] Don't rely on git to find the root path Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- scripts/download-katex-assets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download-katex-assets.sh b/scripts/download-katex-assets.sh index 9c555b6b..e5156710 100755 --- a/scripts/download-katex-assets.sh +++ b/scripts/download-katex-assets.sh @@ -3,7 +3,7 @@ # Download the KaTeX fonts and CSS, and copy them into `static`. set -e -root=$(git rev-parse --show-toplevel) +root=$(dirname "$0")/.. # Check that the caller supplied a version. version=$1