removed superfluous (and potentially derping) % from package module

This commit is contained in:
Florian Nücke 2014-01-30 23:31:59 +01:00
parent 0884a4590d
commit e03bede4c3

View File

@ -27,7 +27,7 @@ function package.searchpath(name, path, sep, rep)
checkArg(2, path, "string")
sep = sep or '.'
rep = rep or '/'
sep, rep = '%' .. sep, '%' .. rep
sep, rep = '%' .. sep, rep
name = string.gsub(name, sep, rep)
local errorFiles = {}
for subPath in string.gmatch(path, "([^;]+)") do