quotes removed from the after/before commands
This commit is contained in:
parent
6ce7593407
commit
1cc2e64e5c
@ -139,6 +139,7 @@ func (p *Project) GoTest(path string) (io.Writer, error) {
|
||||
// Cmd exec a list of defined commands
|
||||
func (p *Project) Cmd(cmds []string) (errors []error) {
|
||||
for _, cmd := range cmds {
|
||||
cmd := strings.Replace(strings.Replace(cmd, "'", "", -1), "\"", "", -1)
|
||||
c := strings.Split(cmd, " ")
|
||||
build := exec.Command(c[0], c[1:]...)
|
||||
build.Dir = p.base
|
||||
|
Loading…
Reference in New Issue
Block a user