forked from cerc-io/plugeth
generators: Don't generate params/protocol_params.go with +x bit
This commit is contained in:
parent
8f65444bf3
commit
139f6a0f4c
@ -52,7 +52,7 @@ func main() {
|
||||
json.Unmarshal(content, &m)
|
||||
|
||||
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 {
|
||||
fatal("error opening file for writing %v\n", err)
|
||||
}
|
||||
|
0
params/protocol_params.go
Executable file → Normal file
0
params/protocol_params.go
Executable file → Normal file
Loading…
Reference in New Issue
Block a user