Skip to content

Commit

Permalink
Ignore non-conforming lines
Browse files Browse the repository at this point in the history
  • Loading branch information
thriqon committed Jan 25, 2016
1 parent 7615c86 commit 03102d7
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions invfile.lua.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,14 +594,16 @@ package are generated using the builders.
for line in io.lines("packages.tsv") do
if not firstLine then
local fields = split(line, "\t")
local packager = fields[1]
local package = fields[2]
local revision = fields[3]
local test = fields[4]
local builddir = "./mulled-build-" .. package

builders[packager](package, revision, test, builddir)
pushTask(package, revision, packager, builddir)
if #fields == 4 then
local packager = fields[1]
local package = fields[2]
local revision = fields[3]
local test = fields[4]
local builddir = "./mulled-build-" .. package

builders[packager](package, revision, test, builddir)
pushTask(package, revision, packager, builddir)
end
end
firstLine = false
end
Expand Down

0 comments on commit 03102d7

Please sign in to comment.