diff options
| author | Jack Nagel | 2013-11-01 19:04:04 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-11-01 19:04:04 -0500 | 
| commit | 4fafd71d53463d98f4eb0f76f610b4f32107d51d (patch) | |
| tree | abf814f3ee1d2a4d85bf40f87006e660eced3e60 /Library/brew.rb | |
| parent | d88f2e24c0c8c8a29c4fdc2480e82c2698a8d47d (diff) | |
| download | homebrew-4fafd71d53463d98f4eb0f76f610b4f32107d51d.tar.bz2 | |
Remove "-c1" one-line config
This is broken and nobody noticed, so remove it.
Closes #23878.
Diffstat (limited to 'Library/brew.rb')
| -rwxr-xr-x | Library/brew.rb | 8 | 
1 files changed, 2 insertions, 6 deletions
| diff --git a/Library/brew.rb b/Library/brew.rb index dad310e84..4fa22b4ee 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -70,17 +70,13 @@ begin               'abv' => 'info',               'dr' => 'doctor',               '--repo' => '--repository', -             'environment' => '--env'  # same as gem +             'environment' => '--env', +             '-c1' => '--config',               }    cmd = ARGV.shift    cmd = aliases[cmd] if aliases[cmd] -  if cmd == '-c1' # Shortcut for one line of configuration -    cmd = '--config' -    ARGV.unshift('-1') -  end -    sudo_check = Set.new %w[ install link pin unpin upgrade ]    if sudo_check.include? cmd | 
