mirror of https://github.com/perkeep/perkeep.git
make.go: remove redundant failure message I forgot to delete
Change-Id: Ia81f14ee958d49d53e5ef8961f77518e6a4c6802
This commit is contained in:
parent
dd199eb0cb
commit
b1f2de212c
8
make.go
8
make.go
|
@ -134,9 +134,6 @@ func main() {
|
|||
if err != nil {
|
||||
log.Fatalf("Failed to get current directory: %v", err)
|
||||
}
|
||||
if strings.HasSuffix(camRoot, "camlistore.org") {
|
||||
log.Fatalf("Camlistore was renamed to Perkeep. Your current directory (%s) looks like a camlistore.org directory. We're expecting you to be in a perkeep.org directory now. See https://github.com/camlistore/camlistore/issues/981#issuecomment-354690313 for details. You need to rename your camlistore.org parent directory to perkeep.org")
|
||||
}
|
||||
latestSrcMod = mirror(sql)
|
||||
if *onlysync {
|
||||
if *website {
|
||||
|
@ -1461,10 +1458,7 @@ func homeDir() string {
|
|||
}
|
||||
|
||||
func failIfCamlistoreOrgDir() {
|
||||
dir, err := os.Getwd()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
dir, _ := os.Getwd()
|
||||
if strings.HasSuffix(dir, "camlistore.org") {
|
||||
log.Fatalf(`Camlistore was renamed to Perkeep. Your current directory (%s) looks like a camlistore.org directory.
|
||||
|
||||
|
|
Loading…
Reference in New Issue