aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-07-29 16:57:32 +0100
committerMax Howell2011-07-30 11:04:04 +0100
commit923f00c33e875498ae59832f3609cdf161e84a1f (patch)
tree10433ef3b71b6c207edc79ee1b61052e5d3f0a2b /Library
parentce8c849578cee3a3a6fdae226c3b967ba77511f0 (diff)
downloadhomebrew-923f00c33e875498ae59832f3609cdf161e84a1f.tar.bz2
Exclude brew manpages from unbrewed.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb
index edd5326b5..d985b543d 100644
--- a/Library/Homebrew/cmd/list.rb
+++ b/Library/Homebrew/cmd/list.rb
@@ -4,7 +4,7 @@ module Homebrew extend self
dirs = HOMEBREW_PREFIX.children.select{ |pn| pn.directory? }.map{ |pn| pn.basename.to_s }
dirs -= %w[Library Cellar .git]
cd HOMEBREW_PREFIX
- exec 'find', *dirs + %w[-type f ( ! -iname .ds_store ! -iname brew )]
+ exec 'find', *dirs + %w[-type f ( ! -iname .ds_store ! -iname brew ! -iname brew-man.1 ! -iname brew.1 )]
elsif ARGV.flag? '--versions'
if ARGV.named.empty?
HOMEBREW_CELLAR.children.select{ |pn| pn.directory? }