We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d286e commit c35ad7dCopy full SHA for c35ad7d
cmd/debiman/render.go
@@ -512,6 +512,9 @@ func writeSourcesWithManpages(gv globalView) error {
512
}
513
sort.Strings(sourcesWithManpages)
514
dest := filepath.Join(*servingDir, suite, "sourcesWithManpages.txt.gz")
515
+ if err := os.MkdirAll(filepath.Dir(dest), 0755); err != nil {
516
+ return err
517
+ }
518
if err := write.Atomically(dest, true, func(w io.Writer) error {
519
for _, source := range sourcesWithManpages {
520
if _, err := fmt.Fprintln(w, source); err != nil {
0 commit comments