summaryrefslogtreecommitdiff
path: root/submitPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'submitPatches.go')
-rw-r--r--submitPatches.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/submitPatches.go b/submitPatches.go
index 9092efc..74608b1 100644
--- a/submitPatches.go
+++ b/submitPatches.go
@@ -150,11 +150,11 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
}
}
s.submitB = s.grid.NewButton("Create Patch Set", func() {
- dirname := "submit-patchset.quilt"
+ dirname := "submit-patchset.quilt"
patchdir := filepath.Join(me.userHomePwd.String(), dirname)
if shell.Exists(patchdir) {
log.Info("patchset dir already exists", patchdir)
- shell.RunCmd(me.userHomePwd.String(), []string{"rm", "-rf", dirname})
+ shell.PathRun(me.userHomePwd.String(), []string{"rm", "-rf", dirname})
}
shell.Mkdir(patchdir)
if !shell.Exists(patchdir) {