diff options
| author | Michael Dippery | 2010-10-12 15:24:00 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2010-10-28 21:42:48 -0700 |
| commit | f5db3aa9fb92dfbe66017f2ca50bd89e5782a376 (patch) | |
| tree | dc57901447778b7385d9d827205edf8fb4f8bd2b /Library/Homebrew | |
| parent | a1fe19ca3f38263beda4871f8f8489e98acb9be0 (diff) | |
| download | homebrew-f5db3aa9fb92dfbe66017f2ca50bd89e5782a376.tar.bz2 | |
Ignore .DS_Store files when listing keg contents
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/brew.h.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index ff45a4ad8..4f9601f26 100644 --- a/Library/Homebrew/brew.h.rb +++ b/Library/Homebrew/brew.h.rb @@ -499,7 +499,7 @@ class PrettyListing else print_dir pn end - elsif not FORMULA_META_FILES.include? pn.basename.to_s + elsif not (FORMULA_META_FILES.include? pn.basename.to_s or pn.basename.to_s == '.DS_Store') puts pn end end @@ -519,7 +519,7 @@ private puts pn other = 'other ' else - remaining_root_files << pn + remaining_root_files << pn unless pn.basename.to_s == '.DS_Store' end end |
