diff options
| author | Mike McQuaid | 2015-11-09 16:28:13 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-11-10 09:09:03 +0000 |
| commit | 307ca85e0e110d9c84179aa50957693bdeaf5dec (patch) | |
| tree | c2c9ca9cee2875983752929a12bc10dffe0cc1f1 /Library | |
| parent | 65a7f7807c447a9b88e3a1b0deba498cf96009f4 (diff) | |
| download | brew-307ca85e0e110d9c84179aa50957693bdeaf5dec.tar.bz2 | |
ARGV: add explicit option for disabling sandbox.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ARGV.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb index 106aae7cf..9491883fc 100644 --- a/Library/Homebrew/extend/ARGV.rb +++ b/Library/Homebrew/extend/ARGV.rb @@ -132,6 +132,10 @@ module HomebrewArgvExtension include?("--sandbox") || !ENV["HOMEBREW_SANDBOX"].nil? end + def no_sandbox? + include?("--no-sandbox") || !ENV["HOMEBREW_NO_SANDBOX"].nil? + end + def ignore_deps? include? "--ignore-dependencies" end |
