diff options
Diffstat (limited to 'scripts')
-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 31d04d5..149c7ff 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-not -type f -name '*.md' | grep -v '^./vendor/' | grep -v '^./_site/' | grep -v './drafts/' | grep -v './templates/'); do +for f in $(find _tils -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}')" |