From df765831d9a9ce9abae220cb3441812f9d27bff9 Mon Sep 17 00:00:00 2001 From: AleixMT Date: Tue, 9 Apr 2024 22:38:19 +0200 Subject: [PATCH] meaningless changes to trigger workflows --- src/substituteMarks.sh | 3 +-- templates/template.html | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/substituteMarks.sh b/src/substituteMarks.sh index 7ccc56e..5c3c060 100644 --- a/src/substituteMarks.sh +++ b/src/substituteMarks.sh @@ -8,11 +8,10 @@ for i in $@; do initial="$(echo "${PROJECT_FOLDER}/data/${i}" | rev | cut -d "/" -f1 | cut -d "." -f2- | tr '[:lower:]' '[:upper:]' | rev)" for mark in ${marks[@]}; do mark_name="${initial}_${mark}" - echo mark_name is $mark_name mark_value=${!mark_name} if [ -n "${mark_value}" ]; then echo "Substituted ${mark_name}" - sed -i "s/{{${mark_name}}}/${mark_value}/g" "${PROJECT_FOLDER}/data/${i}" + sed -i "s/{{${mark_name}}}/${mark_value}/g" "${PROJECT_FOLDER}/data/${i}.json" fi done done diff --git a/templates/template.html b/templates/template.html index 5652aae..2bb5240 100644 --- a/templates/template.html +++ b/templates/template.html @@ -173,4 +173,3 @@ -