Commit 7c68f787 authored by Russ Cox's avatar Russ Cox

misc/dashboard/builder: make -fail mode faster

Don't check out the repository if we're just going to fail everything.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7453048
parent d4a020de
......@@ -83,7 +83,7 @@ func main() {
}
// set up work environment, use existing enviroment if possible
if goroot.Exists() {
if goroot.Exists() || *failAll {
log.Print("Found old workspace, will use it")
} else {
if err := os.RemoveAll(*buildroot); err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment