From 3f5cfe38dadf34669270eed9184f0414a280f5a9 Mon Sep 17 00:00:00 2001 From: nixpkgs-review Date: Tue, 3 Nov 2020 22:10:32 -0300 Subject: Prepare for translation front matter of _tils/2020-08-12-simple-filename-timestamp.md --- scripts/sync-translations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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}')" -- cgit v1.2.3