From f8861daeb9df15f37390b86caab2397813062246 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 20 Mar 2012 10:40:00 -0500 Subject: Skip linking info/dir The regexp that handles skipping info files was only skipping info/*.info files, but several formula would create info/dir files as well. Since these conflicted with each other, Homebrew would error out during the linking step. --- Library/Homebrew/keg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 6a217e90b..6aca9f684 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -9,7 +9,7 @@ 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$] + INFOFILE_RX = %r[info/([^.].*?\.info|dir)$] # if path is a file in a keg then this will return the containing Keg object def self.for path -- cgit v1.2.3