Commit 412a6fef authored by Andreas Böttger's avatar Andreas Böttger 😬
Browse files

Update .gitlab-ci.yml

[skip-ci]
parent 89b8949a
Pipeline #33334 skipped
......@@ -109,8 +109,10 @@ build_pages:
script:
- |
(
# Language Verzeichnisse ermitteln und in den Pfad der Abbildungen integrieren
file_list=$(grep -rlP '\.\.\/abb\/' ./_raw/book || true)
while read line; do
# NUR vier Sprachen werden berücksichtigt: de, en, fa, ar
export lang="$(echo "$line" | perl -pe 's!.*\/(de|en|fa|ar)\/.*!\1!g')"
perl -pe 's!(\().*?(abb)!$1/static/reader/$ENV{"lang"}/$2!gm' $line
done <<<$file_list
......@@ -131,8 +133,10 @@ build_pages:
- mv ./_raw/book/_book ./templates/reader
- |
(
# Language Verzeichnisse ermitteln und in den Pfad der Abbildungen integrieren
file_list=$(grep -rlP '\.\.\/abb\/' ./_raw/study-book || true)
while read line; do
# NUR vier Sprachen werden berücksichtigt: de, en, fa, ar
export lang="$(echo "$line" | perl -pe 's!.*\/(de|en|fa|ar)\/.*!\1!g')"
perl -pe 's!(\().*?(abb)!$1/static/studyreader/$ENV{"lang"}/$2!gm' $line
done <<<$file_list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment