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

Update .gitlab-ci.yml

parent 4e166c56
Pipeline #33340 passed with stages
in 1 minute and 18 seconds
......@@ -109,10 +109,11 @@ build_pages:
script:
- |
(
echo $SHELL
# Language Verzeichnisse ermitteln und in den Pfad der Abbildungen integrieren
file_list=$(grep -rlP '\.\.\/abb\/' ./_raw/book)
while read line; do
# NUR vier Sprachen werden berücksichtigt: de, en, fa, ar
# NUR vier Sprachen werden berücksichtigt: de, en, fa, ar
export lang="$(echo "$line" | perl -pe 's!.*\/(de|en|fa|ar)\/.*!\1!g')"
echo "--- $line"
perl -i -pe 's!(\().*?(abb)!$1/static/reader/$ENV{"lang"}/$2!gm' $line
......
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