Merge "Use 0777 instead of FileInfo() for dirs." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cd963fc63b
@@ -115,7 +115,7 @@ func main() {
|
|||||||
|
|
||||||
filename := filepath.Join(*outputDir, name)
|
filename := filepath.Join(*outputDir, name)
|
||||||
if f.FileInfo().IsDir() {
|
if f.FileInfo().IsDir() {
|
||||||
must(os.MkdirAll(filename, f.FileInfo().Mode()))
|
must(os.MkdirAll(filename, 0777))
|
||||||
} else {
|
} else {
|
||||||
must(os.MkdirAll(filepath.Dir(filename), 0777))
|
must(os.MkdirAll(filepath.Dir(filename), 0777))
|
||||||
in, err := f.Open()
|
in, err := f.Open()
|
||||||
|
Reference in New Issue
Block a user