build-pkg: ignore installed/.gitkeep file

It produced the following erroneous warning:

> Item x86_64-unknown-linux-gnu~mxe-conf
> built item x86_64-unknown-linux-gnu~.gitkeep.
pull/1191/head
Boris Nagaev 9 years ago
parent 6b25bbb150
commit c26dbd9aec

@ -705,7 +705,7 @@ local function findForeignInstalls(item, files)
for _, file in ipairs(files) do
local pattern = 'usr/([^/]+)/installed/([^/]+)'
local t, p = file:match(pattern)
if t then
if t and p ~= '.gitkeep' then
local item1 = makeItem(t, p)
if item1 ~= item then
log('Item %s built item %s', item, item1)

Loading…
Cancel
Save