diff --git a/internal/collection/file.go b/internal/collection/file.go index e50fff6..3a6c393 100644 --- a/internal/collection/file.go +++ b/internal/collection/file.go @@ -126,7 +126,7 @@ func LoadFilesFromDirectory(prefix, source string) (files []*File, err error) { return fmt.Errorf("could not read link: %w", err) } - file = NewFile(path + "-symlink.txt") + file = NewFile(filepath.Join(prefix, path) + "-symlink.txt") file.Data = []byte(link) } else { file, err = loadFile(prefix, path, info) diff --git a/version.go b/version.go index c73c4e8..ea8ec99 100644 --- a/version.go +++ b/version.go @@ -4,7 +4,7 @@ import "fmt" //nolint:gochecknoglobals var ( - version = "0.10.1" + version = "main" commit = "" date = "" )