aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-11-25 19:31:09 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-11-25 19:31:09 +0100
commit8f977a01d0633a18e175bc5af7e358624fbd1f4d (patch)
treee0de4c92ff62a5309b87082afce1e7109baf6002 /scripts
parentb1463eaeb863772b3a40402de24a9c4770053765 (diff)
downloadunterricht-8f977a01d0633a18e175bc5af7e358624fbd1f4d.tar.gz
unterricht-8f977a01d0633a18e175bc5af7e358624fbd1f4d.zip
follow symlink when packing lessons
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/lesson-dist2
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