properly handle symlinks as relative to the output dir

the code meant to make symlinks relative to the output directory, but
only actually succeeded at it for targets in the root of the output
directory; since we already check that the target is not breaking out of
the instance, we can generate the output symlink relative to itself and
fix the subdirred-symlink behavior

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
2025-03-21 11:43:18 -05:00
parent 8c75947088
commit 88b678931e
3 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1 @@
../more-metadata.md