summaryrefslogtreecommitdiffstats
path: root/buildrepo.lua
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-07 08:47:52 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-07 08:48:44 +0200
commit4de3a72e08487d44b2d4a57e7334d97cdebb8770 (patch)
treeafcd6fc01633fb6d874e1c434560013860846a79 /buildrepo.lua
parent1c45eb6b334e404ad0d38fad9c87918dc3c1db91 (diff)
downloadlua-aports-4de3a72e08487d44b2d4a57e7334d97cdebb8770.tar.bz2
lua-aports-4de3a72e08487d44b2d4a57e7334d97cdebb8770.tar.xz
buildrepo: fix bug when repodest is set with buildrepo -d
we need to use the specified repodest when checking if package is built or not
Diffstat (limited to 'buildrepo.lua')
-rwxr-xr-xbuildrepo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrepo.lua b/buildrepo.lua
index adb73ec..c665711 100755
--- a/buildrepo.lua
+++ b/buildrepo.lua
@@ -157,7 +157,7 @@ end
stats = {}
for _,repo in pairs(args) do
- local db = require('aports.db').new(aportsdir, repo)
+ local db = require('aports.db').new(aportsdir, repo, repodest)
local pkgs = {}
local unsorted = {}
local logdir = nil