diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/assert-spelling.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/assert-spelling.sh b/scripts/assert-spelling.sh index 37cec6e..401a852 100755 --- a/scripts/assert-spelling.sh +++ b/scripts/assert-spelling.sh @@ -15,7 +15,7 @@ OUT="$(mktemp)" jekyll build --future --trace # shellcheck disable=2044 for f in $(find _site -type f -name '*.html'); do - if ! echo "$f" | grep -E '^_site/vendor/' > /dev/null; then + if ! echo "$f" | grep -qE '(/vendor/|TODOs.html)'; then l="$(head -n2 "$f" | tail -n1 | cut -d\" -f2)" CURR_DICT="$(mktemp)" cat scripts/spelling/international.txt "scripts/spelling/$l.txt" > "$CURR_DICT" |