From 8f977a01d0633a18e175bc5af7e358624fbd1f4d Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 25 Nov 2025 19:31:09 +0100 Subject: follow symlink when packing lessons --- scripts/lesson-dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3