diff options
| author | Adam Vandenberg | 2011-10-18 10:00:45 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-10-18 10:00:45 -0700 |
| commit | bb6a5df758c947f527791035d3502b9defa4dc04 (patch) | |
| tree | e4b18c9328a784db6e9597a32e4079ef583396d3 /Library | |
| parent | 7c8f42634f5888780a3ee6bb9fec76852720f086 (diff) | |
| download | homebrew-bb6a5df758c947f527791035d3502b9defa4dc04.tar.bz2 | |
audit: complain more about tabs
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 1a57ab80a..5a4a5e05c 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -102,9 +102,9 @@ def audit_formula_text name, text problems << " * Use separate make calls." end - if text =~ /^\t/ + if text =~ /^[ ]*\t/ problems << " * Use spaces instead of tabs for indentation" - end if strict? + end # Formula depends_on gfortran if text =~ /^\s*depends_on\s*(\'|\")gfortran(\'|\").*/ |
