summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-01-09 12:03:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-01-09 13:50:35 +0000
commit22456c12063c07183eb7c2fcf2c9be386861dda5 (patch)
treec35bd2e6d3550263145c89701afb6d68f8eafb24
parent340c006dff1ef6fddb0ac5595bfd74c5572e6484 (diff)
downloadlua-aports-22456c12063c07183eb7c2fcf2c9be386861dda5.tar.bz2
lua-aports-22456c12063c07183eb7c2fcf2c9be386861dda5.tar.xz
buildrepo: add opts and arch to conf struct
-rwxr-xr-xbin/buildrepo.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/buildrepo.lua b/bin/buildrepo.lua
index a833d03..a60a3e4 100755
--- a/bin/buildrepo.lua
+++ b/bin/buildrepo.lua
@@ -153,6 +153,8 @@ if f then
end
conf.pluginsdir = conf.pluginsdir or "/usr/share/buildrepo/plugins"
+conf.opts = opts
+conf.arch = abuild.arch
local homedir = os.getenv("HOME")
local aportsdir = opts.a or conf.aportsdir or ("%s/aports"):format(homedir)