parent
19a48de5da
commit
a095ab6a9f
7
main.go
7
main.go
|
@ -163,12 +163,11 @@ func repoworld() {
|
|||
break
|
||||
}
|
||||
}
|
||||
line := []string{"rm", "-rf", "go/src/"}
|
||||
newCmds = append(newCmds, line)
|
||||
newCmds = append(newCmds, []string{"rm", "-rf", "go/src/"})
|
||||
newCmds = append(newCmds, []string{"chmod", "700", "-R", "go/pkg/"})
|
||||
newCmds = append(newCmds, []string{"rm", "-rf", "go/pkg/"})
|
||||
if dirty {
|
||||
line := []string{"can't do this with dirty repos"}
|
||||
newCmds = append(newCmds, line)
|
||||
newCmds = append(newCmds, []string{"can't do this with dirty repos"})
|
||||
doit.Disable()
|
||||
} else {
|
||||
doit.Enable()
|
||||
|
|
Loading…
Reference in New Issue