summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-18 17:58:02 -0600
committerJeff Carr <[email protected]>2024-12-18 17:58:02 -0600
commite30ef08c119ed4e539d3aac74c9d6010a95c9423 (patch)
tree2c7adeaaa169dc6ecc329fa645e7d503169ce80d
parent5ac4c26ded3908848740202ae415bdaea5a2325e (diff)
use os.Mkdirv0.22.24
-rw-r--r--subitPatches.go3
1 files changed, 2 insertions, 1 deletions
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