diff options
author | EuAndreh <eu@euandre.org> | 2020-11-03 17:34:12 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-11-03 17:34:12 -0300 |
commit | 00c84a7e45e1f730dc21b33426c57c59bc03cb66 (patch) | |
tree | 4a5d331de922f880c1a405ca718d128b66b82c6b /scripts | |
parent | Fail tests when translations are not in sync (diff) | |
download | euandre.org-00c84a7e45e1f730dc21b33426c57c59bc03cb66.tar.gz euandre.org-00c84a7e45e1f730dc21b33426c57c59bc03cb66.tar.xz |
Stop generating translated md files
Diffstat (limited to '')
-rwxr-xr-x | scripts/sync-translations.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sync-translations.sh b/scripts/sync-translations.sh index 149c7ff..31d04d5 100755 --- a/scripts/sync-translations.sh +++ b/scripts/sync-translations.sh @@ -16,7 +16,7 @@ for f in $(find . -type f -name '*.md' | grep -v '^./vendor' | grep -v '^./_site fi done -for f in $(find _tils -type f -name '*.md' | grep -v '^./vendor/' | grep -v '^./_site/' | grep -v './drafts/' | grep -v './templates/'); do +for f in $(find _tils-not -type f -name '*.md' | grep -v '^./vendor/' | grep -v '^./_site/' | grep -v './drafts/' | grep -v './templates/'); do l="$(grep '^lang: ..$' "$f" | awk '{print $2}')" if [[ "$l" != 'en' ]]; then ref="$(grep '^ref: ' "$f" | awk '{print $2}')" |