<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository mpbot-github.
</pre>
<p><a href="https://github.com/macports/mpbot-github/commit/730085a996a9e049290070bf3e8bd62831637baa">https://github.com/macports/mpbot-github/commit/730085a996a9e049290070bf3e8bd62831637baa</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 730085a996a9e049290070bf3e8bd62831637baa
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Nov 10 23:52:25 2019 +1100
<span style='display:block; white-space:pre;color:#404040;'> use --work-dir with mpbb list-subports (1/2)
</span>---
ci/buildWorker.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ci/buildWorker.go b/ci/buildWorker.go
</span><span style='display:block; white-space:pre;color:#808080;'>index 3bf53a1..4fa22c6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/ci/buildWorker.go
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ci/buildWorker.go
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,7 +30,8 @@ func (worker *buildWorker) start() {
</span> worker.quitChan <- returnCode
return
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- subports, err := ListSubports(port)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mpbbTmpDir := path.Join(worker.session.tmpDir, "mpbb")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subports, err := ListSubports(port, mpbbTmpDir)
</span> if err != nil {
returnCode = 1
logger.GlobalLogger.LogChan <- &logger.LogText{"port-" + port + "-subports-fail", []byte(err.Error())}
</pre><pre style='margin:0'>
</pre>