aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorJack Nagel2014-03-13 16:36:51 -0500
committerJack Nagel2014-03-13 16:37:11 -0500
commitc7a54f8da18aa9bd4bdba23a119c612a18634a54 (patch)
tree596793ed6c25fa60d110b271c1c8c4dba3fbe59c /Library/Homebrew/extend
parent16fde6fbdb094d0e31f63d69f596461ba294000f (diff)
downloadbrew-c7a54f8da18aa9bd4bdba23a119c612a18634a54.tar.bz2
Use ARGV.env
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 7ae8ecc0d..dccf5c4f8 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -6,7 +6,7 @@ require 'extend/ENV/super'
def superenv?
return false if MacOS::Xcode.without_clt? && MacOS.sdk_path.nil?
return false unless Superenv.bin && Superenv.bin.directory?
- return false if ARGV.include? "--env=std"
+ return false if ARGV.env == "std"
true
end