diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-25 08:18:29 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-25 08:18:29 +0200 |
commit | 3d8e17d06008c3e3b2b104787f6a32397c0f628e (patch) | |
tree | ef251a08d5380024c12df118d1a747e3d5526641 | |
parent | 6876aa182214381b504d5ec036374acfd5edebd7 (diff) | |
download | lua-aports-3d8e17d06008c3e3b2b104787f6a32397c0f628e.tar.bz2 lua-aports-3d8e17d06008c3e3b2b104787f6a32397c0f628e.tar.xz |
buildrepo: pass repodest and arch to pre/post build plugins
this is so we can copy the build logs to remote location if needed.
-rwxr-xr-x | buildrepo.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildrepo.lua b/buildrepo.lua index 6640b49..49cff33 100755 --- a/buildrepo.lua +++ b/buildrepo.lua @@ -196,9 +196,9 @@ for _,repo in pairs(args) do warn("%s: Skipped due to missing dependencies", aport.pkgname) elseif not (opts.s and skip_aport(aport)) then log_progress(progress, repo, aport) - plugins_prebuild(aport, progress, logfile) + plugins_prebuild(aport, progress, repodest, abuild.arch, logfile) local success = build_aport(aport, repodest, logfile) - plugins_postbuild(aport, success, logfile) + plugins_postbuild(aport, success, repodest, abuild.arch, logfile) if success then built = built + 1 end |