diff options
author | EuAndreh <eu@euandre.org> | 2021-01-27 15:55:27 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-27 15:58:51 -0300 |
commit | 451eed829916627e9248f1003752b43617a20ff4 (patch) | |
tree | 1799faf7932caab2f2b6fb0bccebf06601715dda /scripts/apply-translations.sh | |
parent | Update link to "remembering" (diff) | |
download | euandre.org-451eed829916627e9248f1003752b43617a20ff4.tar.gz euandre.org-451eed829916627e9248f1003752b43617a20ff4.tar.xz |
mv build-aux/ -> aux/ and scripts/
Diffstat (limited to '')
-rwxr-xr-x | scripts/apply-translations.sh (renamed from build-aux/apply-translations.sh) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/apply-translations.sh b/scripts/apply-translations.sh index 190b777..5920717 100755 --- a/build-aux/apply-translations.sh +++ b/scripts/apply-translations.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eu -for f in $(git ls-files | grep -E '.(md|slides)$' | grep -Ev '^(vendor/reveal.js|TODOs.md|build-aux/)'); do +for f in $(git ls-files | grep -E '.(md|slides)$' | grep -Ev '^(vendor/reveal.js|TODOs.md|aux/)'); do l="$(grep '^lang: ..$' "$f" | awk '{print $2}')" if [ "$l" != 'en' ]; then ref="$(grep '^ref: ' "$f" | awk '{print $2}')" |