aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorJack Nagel2012-04-10 21:47:17 -0500
committerJack Nagel2012-04-10 21:53:01 -0500
commit9d172f85c62f640ab4a1ff367c2eba654d5f0bcd (patch)
tree9f8df6ea212c557120d596748137ad64e7b73143 /Library/Homebrew/utils.rb
parentf296683409c4e838364e72f45fe15a7ff6721c29 (diff)
downloadbrew-9d172f85c62f640ab4a1ff367c2eba654d5f0bcd.tar.bz2
ARGV: use include? for --HEAD
ARGV.build_head? will return true if the typo '-HEAD' is passed because it uses flag? to detect the option. However, we only filter the exact spelling of '--HEAD' in ARGV.filter_for_dependencies, and thus the HEAD property is undesirably passed to deps during installation. Since we never advertised '-H' as a valid short option for '--HEAD', just use include? instead of flag?. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/utils.rb')
0 files changed, 0 insertions, 0 deletions