aboutsummaryrefslogtreecommitdiff
path: root/scripts/apply-translations.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-19 03:01:16 -0300
committerEuAndreh <eu@euandre.org>2020-12-19 03:21:12 -0300
commit08e4129b5e77b960ebc5ca66cec34c49a6e9426d (patch)
treef34d0464eaf3570d311f022ea1147cb062d93083 /scripts/apply-translations.sh
parentUse 'post' layout for pastebins (diff)
downloadeuandre.org-08e4129b5e77b960ebc5ca66cec34c49a6e9426d.tar.gz
euandre.org-08e4129b5e77b960ebc5ca66cec34c49a6e9426d.tar.xz
Stop considering templates/ in scripts
Diffstat (limited to '')
-rwxr-xr-xscripts/apply-translations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/apply-translations.sh b/scripts/apply-translations.sh
index 8c9a6f5..291de76 100755
--- a/scripts/apply-translations.sh
+++ b/scripts/apply-translations.sh
@@ -3,7 +3,7 @@ set -Eeuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
cd ../
-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
l="$(grep '^lang: ..$' "$f" | awk '{print $2}')"
if [[ "$l" != 'en' ]]; then
ref="$(grep '^ref: ' "$f" | awk '{print $2}')"