diff options
| author | Greg Nisbet | 2016-05-22 18:02:39 -0700 |
|---|---|---|
| committer | Greg Nisbet | 2016-08-10 23:21:30 -0700 |
| commit | bf63c08d50acb5fa79413325029e67e2c28a6023 (patch) | |
| tree | 62b24664cd59a42c4dae6dacaaef12da81a6b419 /Library/Homebrew/cmd | |
| parent | f0cc815d86aceec61adca10606124ad840b0398a (diff) | |
| download | brew-bf63c08d50acb5fa79413325029e67e2c28a6023.tar.bz2 | |
tests for shell-specific diagnostic message
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/--env.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/--env.rb b/Library/Homebrew/cmd/--env.rb index 292bcf866..0feb338dc 100644 --- a/Library/Homebrew/cmd/--env.rb +++ b/Library/Homebrew/cmd/--env.rb @@ -13,9 +13,8 @@ module Homebrew ENV.universal_binary if ARGV.build_universal? shell_value = ARGV.value("shell") - has_plain = ARGV.include?("--plain") - if has_plain + if ARGV.include?("--plain") shell = nil elsif shell_value.nil? # legacy behavior |
