diff options
| author | Jack Nagel | 2012-04-10 21:47:17 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-10 21:53:01 -0500 |
| commit | b7a4bc644a6e636f00a31963f9d10ea9965197fd (patch) | |
| tree | a0d6fba41b50018186007abc921280a31e48c3b2 /Library/Formula/python3.rb | |
| parent | 674f4c015bdd624047b0e5131ec9f728a831d38d (diff) | |
| download | homebrew-b7a4bc644a6e636f00a31963f9d10ea9965197fd.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/Formula/python3.rb')
0 files changed, 0 insertions, 0 deletions
