From b06ee1d6d789d38f20bb4f7c7a53371178a1887f Mon Sep 17 00:00:00 2001 From: abs3nt Date: Sun, 5 Mar 2023 23:54:34 -0800 Subject: [PATCH] fix: fix build/install --- src/haunt/tools.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/haunt/tools.go b/src/haunt/tools.go index b16c226..ee92a33 100644 --- a/src/haunt/tools.go +++ b/src/haunt/tools.go @@ -183,12 +183,7 @@ func (t *Tool) Compile(path string, stop <-chan bool) (response Response) { var out bytes.Buffer var stderr bytes.Buffer done := make(chan error) - buildPath, _ := filepath.Abs(Wdir()) - buildPath = "-o " + buildPath - buildPath += "/bin" - fmt.Println(t.cmd, t.Args) - args := append(t.cmd, buildPath) - args = append(args, t.Args...) + args := append(t.cmd, t.Args...) cmd := exec.Command(args[0], args[1:]...) fmt.Println(cmd) if t.Dir != "" {