diff options
| author | Xu Cheng | 2016-08-17 22:41:54 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2016-08-18 13:35:51 +0800 | 
| commit | 91c5dee5a0e5b147ea7b6a1a2edd36529953ffb5 (patch) | |
| tree | 0731779fe1418a3eba6f288ee8277ec7725f4661 /Library/Homebrew/sandbox.rb | |
| parent | db2e9b8375535f5cb71b5974909bc0fcc3d29e9d (diff) | |
| download | brew-91c5dee5a0e5b147ea7b6a1a2edd36529953ffb5.tar.bz2 | |
Sandbox.formula?: allow to disable sandbox by user
Diffstat (limited to 'Library/Homebrew/sandbox.rb')
| -rw-r--r-- | Library/Homebrew/sandbox.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb index 133bdb83c..b1493369a 100644 --- a/Library/Homebrew/sandbox.rb +++ b/Library/Homebrew/sandbox.rb @@ -13,6 +13,7 @@ class Sandbox    def self.formula?(formula)      return false unless available? +    return false if ARGV.no_sandbox?      ARGV.sandbox? || SANDBOXED_TAPS.include?(formula.tap.to_s)    end  | 
