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.
This commit is contained in:
Boris Nagaev 2016-01-13 02:39:16 +03:00
parent 6b25bbb150
commit c26dbd9aec
1 changed files with 1 additions and 1 deletions

View File

@ -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)