fix build for new naming scheme

This commit is contained in:
Christopher Monsanto
2020-05-24 16:15:18 -04:00
parent 8d3935c52a
commit b2e7d3c8b9
2 changed files with 26 additions and 22 deletions

View File

@@ -74,7 +74,7 @@ rule{
-- Smogdex social images
for file in iglob("newsrc/models/*") do
if tup.base(file):find("b") or tup.base(file):find("s") then
if tup.base(file):find("-b") or tup.base(file):find("-s") then
goto continue
end
@@ -139,7 +139,7 @@ foreach_rule{
},
key="%B",
filter=function()
return not ((expand("%B")):find("b") or (expand("%B")):find("s")) and not glob_matches("newsrc/dex/%B.png")
return not ((expand("%B")):find("-b") or (expand("%B")):find("-s")) and not glob_matches("newsrc/dex/%B.png")
end,
output="build/padded-dex/%B-missing.png",
}