| Index: go/src/infra/tools/cipd/local/rename_posix.go
|
| diff --git a/go/src/infra/gae/epservice/epservice_other.go b/go/src/infra/tools/cipd/local/rename_posix.go
|
| similarity index 65%
|
| copy from go/src/infra/gae/epservice/epservice_other.go
|
| copy to go/src/infra/tools/cipd/local/rename_posix.go
|
| index a60db74ffa5bb27818a69bd61bd4774c90b8b33a..8c79dcd743cf1367bc81a8a52aeef04ce23a8953 100644
|
| --- a/go/src/infra/gae/epservice/epservice_other.go
|
| +++ b/go/src/infra/tools/cipd/local/rename_posix.go
|
| @@ -4,10 +4,12 @@
|
|
|
| // +build !windows
|
|
|
| -package main
|
| +package local
|
|
|
| import (
|
| - "syscall"
|
| + "os"
|
| )
|
|
|
| -var serverStartParams = &syscall.SysProcAttr{Setpgid: true}
|
| +func atomicRename(source, target string) error {
|
| + return os.Rename(source, target)
|
| +}
|
|
|