diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-07 08:47:52 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-07 08:48:44 +0200 |
commit | 4de3a72e08487d44b2d4a57e7334d97cdebb8770 (patch) | |
tree | afcd6fc01633fb6d874e1c434560013860846a79 /buildrepo.lua | |
parent | 1c45eb6b334e404ad0d38fad9c87918dc3c1db91 (diff) | |
download | lua-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-x | buildrepo.lua | 2 |
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 |