mirror of https://github.com/perkeep/perkeep.git
verifyGoVersion: log.Fatalf was missing 'version' var
Change-Id: I10c71e96a598ec640131245b73ae201161f68622
This commit is contained in:
parent
f27b988e7b
commit
fc09b38397
2
make.go
2
make.go
|
@ -467,7 +467,7 @@ func verifyGoVersion() {
|
||||||
version := fields[2]
|
version := fields[2]
|
||||||
switch version {
|
switch version {
|
||||||
case "go1", "go1.0.1", "go1.0.2", "go1.0.3":
|
case "go1", "go1.0.1", "go1.0.2", "go1.0.3":
|
||||||
log.Fatalf("Your version of Go (%s) is too old. Camlistore requires Go 1.1 or later.")
|
log.Fatalf("Your version of Go (%s) is too old. Camlistore requires Go 1.1 or later.", version)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue