Skip to content
Snippets Groups Projects
Commit 7a3ba923 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1261 from MikeMcQuaid/tweak-repo-sandbox

postinstall: allow write access to cellars in repository.
parents 1a01a4d4 58d998e2
No related branches found
No related tags found
No related merge requests found
......@@ -35,10 +35,10 @@ module Homebrew
sandbox.record_log(formula.logs/"postinstall.sandbox.log")
sandbox.allow_write_temp_and_cache
sandbox.allow_write_log(formula)
sandbox.allow_write_cellar(formula)
sandbox.allow_write_xcode
sandbox.allow_write_path HOMEBREW_PREFIX
sandbox.deny_write_homebrew_repository
sandbox.allow_write_path HOMEBREW_PREFIX
sandbox.allow_write_cellar(formula)
sandbox.exec(*args)
else
exec(*args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment