aboutsummaryrefslogtreecommitdiff
path: root/scripts/lesson-make
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-11-03 13:25:06 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-11-03 13:25:06 +0100
commit6d232f3910220930d78d94160202b4de52ae2315 (patch)
tree92d242f865f2b704eb21ff87a5cf48f14461f2e3 /scripts/lesson-make
parent8e2ebbc036524cc8a399619d804c199fc86ac528 (diff)
downloadunterricht-6d232f3910220930d78d94160202b4de52ae2315.tar.gz
unterricht-6d232f3910220930d78d94160202b4de52ae2315.zip
also exclude test_loesung.tex from automatic lehrer_ version generation
Diffstat (limited to 'scripts/lesson-make')
-rwxr-xr-xscripts/lesson-make1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lesson-make b/scripts/lesson-make
index 615427ec..64d8232d 100755
--- a/scripts/lesson-make
+++ b/scripts/lesson-make
@@ -27,6 +27,7 @@ if [[ -z "${targets[*]}" ]]; then
esac
if [[ "${source}" != *"test_lehrer.tex" ]] \
+ && [[ "${source}" != *"test_loesung.tex" ]] \
&& grep -qe 'iflehrer\|lehrerversion\|gap\|solution' "${source}"; then
declare -a sus_targets=( "${new_targets[@]}" )
for sus_target in "${sus_targets[@]}"; do