mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-01 08:44:09 +02:00
Don't rely on git to find the root path
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
4dc44c1021
commit
3fe74be1bd
|
|
@ -3,7 +3,7 @@
|
||||||
# Download the KaTeX fonts and CSS, and copy them into `static`.
|
# Download the KaTeX fonts and CSS, and copy them into `static`.
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
root=$(git rev-parse --show-toplevel)
|
root=$(dirname "$0")/..
|
||||||
|
|
||||||
# Check that the caller supplied a version.
|
# Check that the caller supplied a version.
|
||||||
version=$1
|
version=$1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue