generators: Don't generate params/protocol_params.go with +x bit

This commit is contained in:
Ricardo Catalinas Jiménez 2016-02-21 20:39:49 +00:00
parent 8f65444bf3
commit 139f6a0f4c
2 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func main() {
json.Unmarshal(content, &m) json.Unmarshal(content, &m)
filepath := filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "params", os.Args[2]) filepath := filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "params", os.Args[2])
output, err := os.OpenFile(filepath, os.O_RDWR|os.O_CREATE, os.ModePerm /*0777*/) output, err := os.OpenFile(filepath, os.O_RDWR|os.O_CREATE, 0666)
if err != nil { if err != nil {
fatal("error opening file for writing %v\n", err) fatal("error opening file for writing %v\n", err)
} }

0
params/protocol_params.go Executable file → Normal file
View File