diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-10-14 14:14:02 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-10-14 14:14:02 +0200 |
| commit | 93c8c9e88a0beb372678fdc24587d88e508cd272 (patch) | |
| tree | 88cf16a2083b48e45d0882cd119f5edabdea4ad5 /scripts/lesson-make | |
| parent | 38db1878a23d80006b142d09f3fc397c4c10a035 (diff) | |
| download | unterricht-93c8c9e88a0beb372678fdc24587d88e508cd272.tar.gz unterricht-93c8c9e88a0beb372678fdc24587d88e508cd272.zip | |
do not create lehrer_test_lehrer targets
Diffstat (limited to 'scripts/lesson-make')
| -rwxr-xr-x | scripts/lesson-make | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lesson-make b/scripts/lesson-make index d3afcc2d..615427ec 100755 --- a/scripts/lesson-make +++ b/scripts/lesson-make @@ -26,7 +26,8 @@ if [[ -z "${targets[*]}" ]]; then ;; esac - if grep -qe 'iflehrer\|lehrerversion\|gap\|solution' "${source}"; then + if [[ "${source}" != *"test_lehrer.tex" ]] \ + && grep -qe 'iflehrer\|lehrerversion\|gap\|solution' "${source}"; then declare -a sus_targets=( "${new_targets[@]}" ) for sus_target in "${sus_targets[@]}"; do dir=$(dirname "${sus_target}") |
