aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-10 12:51:24 -0800
committerAdam Vandenberg2013-11-12 07:10:13 -0800
commit81bf8a168ada914ec47ca5b37a9fe44f8d797fea (patch)
tree75884ec3d2e267ae5562221082178b014290335c /Library/Homebrew/cmd
parente08ec21abea3f8b9da948529b7d8dda2c42c4cb2 (diff)
downloadbrew-81bf8a168ada914ec47ca5b37a9fe44f8d797fea.tar.bz2
audit generic binary names
Binaries with names like 'run' or 'service' are likely to conflict. Warn about these and suggest a libexec-style install instead.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 10b37e57a..80c2e45e5 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -562,7 +562,9 @@ class FormulaAuditor
audit_check_output(check_jars)
audit_check_output(check_non_libraries)
audit_check_output(check_non_executables(f.bin))
+ audit_check_output(check_generic_executables(f.bin))
audit_check_output(check_non_executables(f.sbin))
+ audit_check_output(check_generic_executables(f.sbin))
end
def audit