diff options
author | Yue Zhu <> | 2017-05-13 01:16:45 -0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-05-20 11:44:11 +0200 |
commit | 8a7614a0fb0d4f1073057049933972bb1113c14c (patch) | |
tree | b9066daf0e540012bd74e42eda253b6c5c750602 /TOOLS | |
parent | 7840125e223b9c95b8532223a8ecd39c33d04849 (diff) | |
download | mpv-8a7614a0fb0d4f1073057049933972bb1113c14c.tar.bz2 mpv-8a7614a0fb0d4f1073057049933972bb1113c14c.tar.xz |
TOOLS/lua/autoload.lua: ignores all files starting with "."
Diffstat (limited to 'TOOLS')
-rw-r--r-- | TOOLS/lua/autoload.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TOOLS/lua/autoload.lua b/TOOLS/lua/autoload.lua index caf9d786a0..2ca3b911c1 100644 --- a/TOOLS/lua/autoload.lua +++ b/TOOLS/lua/autoload.lua @@ -72,6 +72,9 @@ function find_and_add_entries() return end table.filter(files, function (v, k) + if string.match(v, "^%.") then + return false + end local ext = get_extension(v) if ext == nil then return false |