aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-03 17:34:12 -0300
committerEuAndreh <eu@euandre.org>2020-11-03 17:34:12 -0300
commit00c84a7e45e1f730dc21b33426c57c59bc03cb66 (patch)
tree4a5d331de922f880c1a405ca718d128b66b82c6b /scripts
parentFail tests when translations are not in sync (diff)
downloadeuandre.org-00c84a7e45e1f730dc21b33426c57c59bc03cb66.tar.gz
euandre.org-00c84a7e45e1f730dc21b33426c57c59bc03cb66.tar.xz
Stop generating translated md files
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sync-translations.sh2
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}')"