aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-23 20:22:18 -0300
committerEuAndreh <eu@euandre.org>2021-01-23 20:22:18 -0300
commitdf0319c4a1ec18ff3012a35ce75123af6e697f9d (patch)
tree1445394e59c7b2ba377af504a4e3875049f1aab2 /build-aux
parentbuild-aux/apply-translations.sh: Specify "-type f" (diff)
downloadeuandre.org-df0319c4a1ec18ff3012a35ce75123af6e697f9d.tar.gz
euandre.org-df0319c4a1ec18ff3012a35ce75123af6e697f9d.tar.xz
build-aux/apply-translations.sh: Exclude recently added markdown files
Diffstat (limited to '')
-rwxr-xr-xbuild-aux/apply-translations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/apply-translations.sh b/build-aux/apply-translations.sh
index adc23f0..190b777 100755
--- a/build-aux/apply-translations.sh
+++ b/build-aux/apply-translations.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -eu
-for f in $(git ls-files | grep -E '.(md|slides)$' | grep -v '^vendor/reveal.js$'); do
+for f in $(git ls-files | grep -E '.(md|slides)$' | grep -Ev '^(vendor/reveal.js|TODOs.md|build-aux/)'); do
l="$(grep '^lang: ..$' "$f" | awk '{print $2}')"
if [ "$l" != 'en' ]; then
ref="$(grep '^ref: ' "$f" | awk '{print $2}')"