From a18bc0ffec12a35a13259b5bf56ca1832d4b3cd1 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 29 Sep 2009 21:17:44 +0100 Subject: brew list --unbrewed fix Determine all directories that aren't Homebrew ones. Exec find. I prefer to keep short stuff in bin/brew so people reading the code have a better idea of what happens, and what sort of functions are useful for the sorts of things we do with Homebrew. --- Library/Homebrew/brew.h.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index 5ff3ad195..a67e8c84d 100644 --- a/Library/Homebrew/brew.h.rb +++ b/Library/Homebrew/brew.h.rb @@ -289,12 +289,6 @@ def versions_of(keg_name) end -# Taken from the homebrew wiki (http://wiki.github.com/mxcl/homebrew) -def unbrewed_files - `cd #{HOMEBREW_PREFIX}; find bin etc include lib man share -type f \\( ! -iname ".ds_store" ! -iname "brew" \\)` -end - - ########################################################## class PrettyListing class PrettyListing def initialize path -- cgit v1.2.3