package main import ( "os" ) // os.Chdir(me.mirrorsDir) // makes the dists/ for 'apt update' func doMakeDists() (string, error) { var s string var err error 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 }