Wildcards are allowed to match no files now.
This commit is contained in:
parent
46bd70380c
commit
23e8d5af5a
@ -427,7 +427,7 @@ loadtarget = function(targetname)
|
|||||||
if targetname:find("[?*]") then
|
if targetname:find("[?*]") then
|
||||||
files = posix.glob(targetname)
|
files = posix.glob(targetname)
|
||||||
if not files then
|
if not files then
|
||||||
error(string.format("glob '%s' matches no files", targetname))
|
files = {}
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
files = {targetname}
|
files = {targetname}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user