From e30ef08c119ed4e539d3aac74c9d6010a95c9423 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 18 Dec 2024 17:58:02 -0600 Subject: [PATCH] use os.Mkdir --- subitPatches.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subitPatches.go b/subitPatches.go index 495013b..6844297 100644 --- a/subitPatches.go +++ b/subitPatches.go @@ -1,6 +1,7 @@ package main import ( + "os" "path/filepath" "strconv" @@ -161,7 +162,7 @@ func submitPatchesBox(box *gui.Node) *patchSummary { log.Info("patchset dir already exists", patchdir) shell.PathRun(me.userHomePwd.String(), []string{"rm", "-rf", dirname}) } - shell.Mkdir(patchdir) + os.MkdirAll(patchdir, os.ModeDir) if !shell.Exists(patchdir) { log.Info("something went wrong making", patchdir) return