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
commit630c77a36206061b2af2672e8bbff1b858fd68a4 (patch)
tree0f7aa20360c4a9247a78bda76e4833b5333c4dab /Library
parent1cfad8f50240efa133aaf1f979ade3de551bc3d5 (diff)
downloadbrew-630c77a36206061b2af2672e8bbff1b858fd68a4.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? }