<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/c91742c9338d0dbcd146f21398aba9e7972313be">https://github.com/macports/mpbot-github/commit/c91742c9338d0dbcd146f21398aba9e7972313be</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c91742c9338d0dbcd146f21398aba9e7972313be
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Nov 10 23:59:56 2019 +1100

<span style='display:block; white-space:pre;color:#404040;'>    use --work-dir with mpbb list-subports (2/2)
</span>---
 ci/mpbb.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ci/mpbb.go b/ci/mpbb.go
</span><span style='display:block; white-space:pre;color:#808080;'>index 552a54f..fb0a9e5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/ci/mpbb.go
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ci/mpbb.go
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,8 +7,8 @@ import (
</span> )
 
 // List all subports of a given port.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-func ListSubports(port string) ([]string, error) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-   listCmd := exec.Command("mpbb", "list-subports", "--archive-site=", "--archive-site-private=", port)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+func ListSubports(port, workDir string) ([]string, error) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   listCmd := exec.Command("mpbb", "--work-dir", workDir, "list-subports", "--archive-site=", "--archive-site-private=", port)
</span>   stdout, err := listCmd.StdoutPipe()
        if err != nil {
                return nil, err
</pre><pre style='margin:0'>

</pre>