aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ARGV.rb4
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