summaryrefslogtreecommitdiff
path: root/doMakeDists.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 20:21:45 -0500
committerJeff Carr <[email protected]>2025-10-11 04:29:23 -0500
commit4a20397ed093cb4308e25c1a46ecce69bc0ffbc4 (patch)
tree875551e3b302475e26da31ee9d1c03e439be61a9 /doMakeDists.go
parent34c30323a684af8b2a952ec4c7c324ef88e946ff (diff)
test one .deb file
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
}