diff options
| author | Martin Afanasjew | 2016-01-21 16:51:45 +0100 |
|---|---|---|
| committer | Martin Afanasjew | 2016-02-11 13:15:37 +0100 |
| commit | 70ec2a7875da86b0355ba31cd64b2521871781a0 (patch) | |
| tree | 74d54508e6e37a2de1ea41ee2a65d14d6c464c06 /Library/Homebrew | |
| parent | e6f946d24ee805e519f8ae92fdc4564c74bc444f (diff) | |
| download | brew-70ec2a7875da86b0355ba31cd64b2521871781a0.tar.bz2 | |
ARGV: stop supporting --homebrew-developer option
Homebrew developers have the corresponding variable permanently set in
their environment and wanting to appear like a Homebrew developer for a
single invocation is exceedingly rare. Additionally, the option won't be
recognized by `bin/brew`. (It is also undocumented.)
Using `HOMEBREW_DEVELOPER=1 brew <command>` is still possible, and not
more inconvenient than passing the `--homebrew-developer` option.
Closes Homebrew/homebrew#48322.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/extend/ARGV.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb index 9491883fc..b8cfdf9fa 100644 --- a/Library/Homebrew/extend/ARGV.rb +++ b/Library/Homebrew/extend/ARGV.rb @@ -125,7 +125,7 @@ module HomebrewArgvExtension end def homebrew_developer? - include?("--homebrew-developer") || !ENV["HOMEBREW_DEVELOPER"].nil? + !ENV["HOMEBREW_DEVELOPER"].nil? end def sandbox? |
