summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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