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