Skip to content

Commit

Permalink
fix: file permissions please work
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi committed May 20, 2022
1 parent cf1672a commit ceb4d45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ func BuildWrapper(zipPatterns []string, output string) error {
if len(fileList) == 0 {
return errors.New("no files given")
}
err := os.MkdirAll(output, os.FileMode(0644))
err := os.MkdirAll(output, os.FileMode(0777))
if err != nil {
color.Red("fatal: could not create output folder")
return err
}
os.MkdirAll(output+"/icons", os.FileMode(0644))
os.MkdirAll(output+"/sources", os.FileMode(0644))
os.MkdirAll(output+"/icons", os.FileMode(0777))
os.MkdirAll(output+"/sources", os.FileMode(0777))
return BuildSource(fileList, output)
}

Expand Down

0 comments on commit ceb4d45

Please sign in to comment.