summaryrefslogtreecommitdiff
path: root/mkvlib/utils.go
diff options
context:
space:
mode:
authorb5f0d6c3 <[email protected]>2022-04-21 12:01:06 +0800
committerb5f0d6c3 <[email protected]>2022-04-21 12:01:06 +0800
commit4219efb8ffe540d9c9068a18d6d2cc0c23ce9c05 (patch)
tree6e4220889a9f3f20490f84f55a5c88600ef2c042 /mkvlib/utils.go
parent300cea250a17eb64c97488ec860bf8fb591f1dfc (diff)
update mkvlib:fix bugs
Diffstat (limited to 'mkvlib/utils.go')
-rw-r--r--mkvlib/utils.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/mkvlib/utils.go b/mkvlib/utils.go
index 4615975..802b94e 100644
--- a/mkvlib/utils.go
+++ b/mkvlib/utils.go
@@ -41,9 +41,6 @@ func findPath(path, expr string) (list []string, err error) {
}
err = queryPath(path, func(path string) bool {
if expr == "" || reg.MatchString(path) {
- if !filepath.IsAbs(path) {
- path, _ = filepath.Abs(path)
- }
list = append(list, path)
}
return true