diff options
author | EuAndreh <eu@euandre.org> | 2021-01-23 20:22:18 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-23 20:22:18 -0300 |
commit | df0319c4a1ec18ff3012a35ce75123af6e697f9d (patch) | |
tree | 1445394e59c7b2ba377af504a4e3875049f1aab2 | |
parent | build-aux/apply-translations.sh: Specify "-type f" (diff) | |
download | euandre.org-df0319c4a1ec18ff3012a35ce75123af6e697f9d.tar.gz euandre.org-df0319c4a1ec18ff3012a35ce75123af6e697f9d.tar.xz |
build-aux/apply-translations.sh: Exclude recently added markdown files
Diffstat (limited to '')
-rwxr-xr-x | build-aux/apply-translations.sh | 2 |
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}')" |