diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-11-25 19:31:09 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-11-25 19:31:09 +0100 |
| commit | 8f977a01d0633a18e175bc5af7e358624fbd1f4d (patch) | |
| tree | e0de4c92ff62a5309b87082afce1e7109baf6002 /scripts/lesson-dist | |
| parent | b1463eaeb863772b3a40402de24a9c4770053765 (diff) | |
| download | unterricht-8f977a01d0633a18e175bc5af7e358624fbd1f4d.tar.gz unterricht-8f977a01d0633a18e175bc5af7e358624fbd1f4d.zip | |
follow symlink when packing lessons
Diffstat (limited to 'scripts/lesson-dist')
| -rwxr-xr-x | scripts/lesson-dist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lesson-dist b/scripts/lesson-dist index eae821d9..2fd98ea3 100755 --- a/scripts/lesson-dist +++ b/scripts/lesson-dist @@ -1,7 +1,7 @@ #!/bin/bash # Create a distributable archive for my lesson material archive="$(basename "$PWD").zip" -readarray -t files < <(find . -mindepth 1 -not -path './.*' -printf '%p\n') +readarray -t files < <(find -L . -mindepth 1 -not -path './.*' -printf '%p\n') zip "${archive}" "${files[@]}" # TODO: replace hardcoded base dir |
