Enable directory matching unless filesonly

This commit is contained in:
2025-12-07 01:12:31 +01:00
parent 9c5f503ef6
commit 312a7222b4

View File

@@ -587,13 +587,6 @@ func ExpandPattern(source, workdir, target string, filesOnly bool) (links []Link
continue
}
if info.IsDir() {
// We don't care about matched directories
// We want files within them
LogInfo("Skipping directory %s", file)
continue
}
targetPath := filepath.Join(target, file)
links = append(links, LinkInstruction{