From 00c84a7e45e1f730dc21b33426c57c59bc03cb66 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 3 Nov 2020 17:34:12 -0300 Subject: Stop generating translated md files --- scripts/sync-translations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}')" -- cgit v1.2.3