summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-18 18:00:27 -0600
committerJeff Carr <[email protected]>2024-12-18 18:00:27 -0600
commitcbac3a5914f3decbb5fa88003fd392b73ff54120 (patch)
tree8d4fe530ac2db693e8e842629873ab4a1f2fa0c2
parenta60188915deabc1e08b0b64154147cde3ce5bdf8 (diff)
use os.Mkdir()v0.0.37
-rw-r--r--makePatches.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/makePatches.go b/makePatches.go
index 104ba47..65ae9d6 100644
--- a/makePatches.go
+++ b/makePatches.go
@@ -1,10 +1,10 @@
package gitpb
import (
+ "os"
"path/filepath"
"strings"
- "go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
@@ -95,7 +95,7 @@ func (all *Repos) MakePatchset(setdir string) bool {
}
repodir := filepath.Join(setdir, repo.GetGoPath())
- shell.Mkdir(repodir)
+ os.MkdirAll(repodir, os.ModeDir)
// git format-patch branch1..branch2
gitcmd := []string{"git", "format-patch", "-o", repodir, develn + ".." + usern}
log.Info("Run:", gitcmd)