aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-07-16 21:39:46 -0500
committerJack Nagel2013-07-16 21:39:46 -0500
commit58eaa1dc0e91fb3d4ace93a9806ee5b9ea6bae6a (patch)
tree9353d50b577227b2bceb2cbd83d403f92ee0c199 /Library
parentae891756e9fdd886014c69e943029eacd7a5bb68 (diff)
downloadhomebrew-58eaa1dc0e91fb3d4ace93a9806ee5b9ea6bae6a.tar.bz2
More linewise audits
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index b7d998821..5153e7b23 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -337,21 +337,21 @@ class FormulaAuditor
end
# Commented-out cmake support from default template
- if (text =~ /# system "cmake/)
+ if line =~ /# system "cmake/
problem "Commented cmake call found"
end
# Comments from default template
- if (text =~ /# PLEASE REMOVE/)
+ if line =~ /# PLEASE REMOVE/
problem "Please remove default template comments"
end
- if (text =~ /# if this fails, try separate make\/make install steps/)
+ if line =~ /# if this fails, try separate make\/make install steps/
problem "Please remove default template comments"
end
- if (text =~ /# if your formula requires any X11\/XQuartz components/)
+ if line =~ /# if your formula requires any X11\/XQuartz components/
problem "Please remove default template comments"
end
- if (text =~ /# if your formula's build system can't parallelize/)
+ if line =~ /# if your formula's build system can't parallelize/
problem "Please remove default template comments"
end
@@ -424,7 +424,7 @@ class FormulaAuditor
end
# xcodebuild should specify SYMROOT
- if line =~ /system\s+['"]xcodebuild/ and not text =~ /SYMROOT=/
+ if line =~ /system\s+['"]xcodebuild/ and not line =~ /SYMROOT=/
problem "xcodebuild should be passed an explicit \"SYMROOT\""
end