From 3d8e17d06008c3e3b2b104787f6a32397c0f628e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 25 Aug 2015 08:18:29 +0200 Subject: buildrepo: pass repodest and arch to pre/post build plugins this is so we can copy the build logs to remote location if needed. --- buildrepo.lua | 4 ++-- 1 file 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 -- cgit v1.2.3