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