From 5f5f23643a127825d67946963313ee5301ee6505 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 23 Feb 2024 14:24:31 -0600 Subject: [PATCH] rename working dir --- submitPatches.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/submitPatches.go b/submitPatches.go index 79f0f2f..5eeda72 100644 --- a/submitPatches.go +++ b/submitPatches.go @@ -150,13 +150,13 @@ func submitPatchesBox(box *gui.Node) *patchSummary { } } s.submitB = s.grid.NewButton("Submit Patches", func() { - patchdir := filepath.Join(me.userHomePwd.String(), "autotypist.patchset") + dirname := "submit-patchset.quilt" + patchdir := filepath.Join(me.userHomePwd.String(), dirname) if shell.Exists(patchdir) { log.Info("patchset dir already exists", patchdir) - return - } else { - shell.Mkdir(patchdir) + shell.RunCmd(me.userHomePwd.String(), []string{"rm", "-rf", dirname}) } + shell.Mkdir(patchdir) if !shell.Exists(patchdir) { log.Info("something went wrong making", patchdir) return