Browse Source

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

Ricardo Catalinas Jiménez 9 years ago
parent
commit
139f6a0f4c
2 changed files with 1 additions and 1 deletions
  1. 1 1
      generators/defaults.go
  2. 0 0
      params/protocol_params.go

+ 1 - 1
generators/defaults.go

@@ -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 - 0
params/protocol_params.go