diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-09 12:03:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-09 13:50:35 +0000 |
commit | 22456c12063c07183eb7c2fcf2c9be386861dda5 (patch) | |
tree | c35bd2e6d3550263145c89701afb6d68f8eafb24 | |
parent | 340c006dff1ef6fddb0ac5595bfd74c5572e6484 (diff) | |
download | lua-aports-22456c12063c07183eb7c2fcf2c9be386861dda5.tar.bz2 lua-aports-22456c12063c07183eb7c2fcf2c9be386861dda5.tar.xz |
buildrepo: add opts and arch to conf struct
-rwxr-xr-x | bin/buildrepo.lua | 2 |
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) |