diff options
| author | Jack Nagel | 2012-11-05 18:13:14 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-11-06 12:32:09 -0600 |
| commit | 7f9c03c1ff86364fc75c7a0f2ae8e754adab3875 (patch) | |
| tree | b03fdd453bf0f5f084680ed342203dec903667ad /Library | |
| parent | 2f542f657e656d2e13a5a7cd0acc406c71c036ab (diff) | |
| download | brew-7f9c03c1ff86364fc75c7a0f2ae8e754adab3875.tar.bz2 | |
Link Frameworks into top-level Frameworks directory
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index b34513c3a..d968a2fc4 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -10,8 +10,8 @@ class Keg < Pathname # locale-specific directories have the form language[_territory][.codeset][@modifier] LOCALEDIR_RX = /(locale|man)\/([a-z]{2}|C|POSIX)(_[A-Z]{2})?(\.[a-zA-Z\-0-9]+(@.+)?)?/ INFOFILE_RX = %r[info/([^.].*?\.info|dir)$] - TOP_LEVEL_DIRECTORIES = %w[bin etc include lib sbin share var] - PRUNEABLE_DIRECTORIES = %w[bin etc include lib sbin share Library/LinkedKegs] + TOP_LEVEL_DIRECTORIES = %w[bin etc include lib sbin share var Frameworks] + PRUNEABLE_DIRECTORIES = %w[bin etc include lib sbin share Frameworks Library/LinkedKegs] # if path is a file in a keg then this will return the containing Keg object def self.for path @@ -101,6 +101,7 @@ class Keg < Pathname link_dir('bin', mode) {:skip_dir} link_dir('sbin', mode) {:skip_dir} link_dir('include', mode) {:link} + link_dir('Frameworks', mode) { :link } link_dir('share', mode) do |path| case path.to_s |
