aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornixpkgs-review <nixpkgs-review@example.com>2020-11-03 22:10:32 -0300
committernixpkgs-review <nixpkgs-review@example.com>2020-11-03 22:10:32 -0300
commit3f5cfe38dadf34669270eed9184f0414a280f5a9 (patch)
tree8a3d5eda27e86600a662fe5b05c8f8fcbc518387 /scripts
parentnixpkgs-next.nix: Remove extra inputs to pymd4c derivation (diff)
downloadeuandre.org-3f5cfe38dadf34669270eed9184f0414a280f5a9.tar.gz
euandre.org-3f5cfe38dadf34669270eed9184f0414a280f5a9.tar.xz
Prepare for translation front matter of _tils/2020-08-12-simple-filename-timestamp.md
Diffstat (limited to '')
-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 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}')"