mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-21 17:08:36 +01:00
Fix check
This commit is contained in:
parent
da93317a78
commit
4ac85997f5
|
|
@ -9,7 +9,7 @@ HEADER="$1/head.html"
|
||||||
NAV_BAR="$1/nav.html"
|
NAV_BAR="$1/nav.html"
|
||||||
FOOTER="$1/footer.html"
|
FOOTER="$1/footer.html"
|
||||||
|
|
||||||
for f in "${HEADER}"/{head,nav,footer}.html; do
|
for f in "$1"/{head,nav,footer}.html; do
|
||||||
if [[ ! -e "${f}" ]]; then
|
if [[ ! -e "${f}" ]]; then
|
||||||
echo >&2 "Need ${f} to exist"
|
echo >&2 "Need ${f} to exist"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue