summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aports/pkg.lua2
-rwxr-xr-xbuildrepo.lua4
2 files changed, 1 insertions, 5 deletions
diff --git a/aports/pkg.lua b/aports/pkg.lua
index 0a08bfc..8cacbd8 100644
--- a/aports/pkg.lua
+++ b/aports/pkg.lua
@@ -99,7 +99,7 @@ function M.apk_file_exists(pkg, name)
end
function M.arch_enabled(pkg)
- return pkg.arch.all or pkg.arch.noarch or pkg.arch[abuild_arch]
+ return pkg.arch.all or pkg.arch.noarch or pkg.arch[abuild.arch]
end
function M.init(pkg)
diff --git a/buildrepo.lua b/buildrepo.lua
index 3cee760..d99527f 100755
--- a/buildrepo.lua
+++ b/buildrepo.lua
@@ -78,10 +78,6 @@ local function build_aport(aport, repodest, logdir)
return pipe:close()
end
-local function build_repo(aportsdir, repodest, logdir, repo, keep_going)
- return true
-end
-
local function post_purge(repodest, repo)
local keep = {}
local lfs = require('lfs')