summaryrefslogtreecommitdiff
path: root/doMakeDists.go
diff options
context:
space:
mode:
Diffstat (limited to 'doMakeDists.go')
-rw-r--r--doMakeDists.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/doMakeDists.go b/doMakeDists.go
index 822b38c..b4d537f 100644
--- a/doMakeDists.go
+++ b/doMakeDists.go
@@ -1,6 +1,8 @@
package main
import (
+ "os"
+
"go.wit.com/log"
)
@@ -12,6 +14,12 @@ func doMakeDists(mirrorshome string) (string, error) {
me.pb.BaseDir = mirrorshome
}
+ os.Chdir(me.pb.BaseDir)
+
+ for p := range me.pb.IterAll() {
+ p.Print()
+ return "printed one out", nil
+ }
s, err := me.pb.MakeDists()
return s, err
}