diff options
author | EuAndreh <eu@euandre.org> | 2020-12-19 03:01:16 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-19 03:21:12 -0300 |
commit | 08e4129b5e77b960ebc5ca66cec34c49a6e9426d (patch) | |
tree | f34d0464eaf3570d311f022ea1147cb062d93083 /scripts/extract-translations.sh | |
parent | Use 'post' layout for pastebins (diff) | |
download | euandre.org-08e4129b5e77b960ebc5ca66cec34c49a6e9426d.tar.gz euandre.org-08e4129b5e77b960ebc5ca66cec34c49a6e9426d.tar.xz |
Stop considering templates/ in scripts
Diffstat (limited to '')
-rwxr-xr-x | scripts/extract-translations.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/extract-translations.sh b/scripts/extract-translations.sh index 79ace6b..13fc160 100755 --- a/scripts/extract-translations.sh +++ b/scripts/extract-translations.sh @@ -5,7 +5,7 @@ cd ../ TRANSLATIONS=(pt fr eo) -for f in $(git ls-files | grep -E '.(md|slides)$' | grep -v '^vendor/reveal.js$' | grep -v '^templates/'); do +for f in $(git ls-files | grep -E '.(md|slides)$' | grep -v '^vendor/reveal.js$'); do file_lang="$(grep '^lang: ..$' "$f" | awk '{print $2}')" if [[ "$file_lang" = 'en' ]]; then for l in "${TRANSLATIONS[@]}"; do |