diff options
| author | Jack Nagel | 2011-11-18 15:12:37 -0600 |
|---|---|---|
| committer | Jack Nagel | 2011-11-18 15:25:14 -0600 |
| commit | 2ded50c36b36c7dc468a3bea04990d965d77d17e (patch) | |
| tree | ecdbfcc1848875619610cd30af600581faad5b5a /Library/Formula/scantailor.rb | |
| parent | 7f187e1d27be2d0dcb42fbf5fb029f43c44effb2 (diff) | |
| download | homebrew-2ded50c36b36c7dc468a3bea04990d965d77d17e.tar.bz2 | |
Use ARGV.include? instead of ARGV.flag? in formula
ARGV.flag? will notice short options, and so ARGV.flag? '--devel' will
be triggered by '-d', which is obviously undesired.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/scantailor.rb')
| -rw-r--r-- | Library/Formula/scantailor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/scantailor.rb b/Library/Formula/scantailor.rb index d285d0704..64432d500 100644 --- a/Library/Formula/scantailor.rb +++ b/Library/Formula/scantailor.rb @@ -3,7 +3,7 @@ require 'formula' class Scantailor < Formula homepage 'http://scantailor.sourceforge.net/' - unless ARGV.flag? '--enhanced' + unless ARGV.include? '--enhanced' url 'http://downloads.sourceforge.net/project/scantailor/scantailor/0.9.10/scantailor-0.9.10.tar.gz' md5 'f962c93a2d63b449fa3f6612ade3b028' else |
