Enable directory matching unless filesonly
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user