aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-03-20 10:40:00 -0500
committerMisty De Meo2012-03-20 11:46:10 -0500
commit452f0ffbf9d0e0a914850e0e731b50ced4dd4b8b (patch)
tree18c6fe19979f2311cc3a8f60fbd37ba3055db2be /Library
parentdcdc67892004eb35f81f1d3f6d704c35e7a729f5 (diff)
downloadhomebrew-452f0ffbf9d0e0a914850e0e731b50ced4dd4b8b.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg.rb2
1 files changed, 1 insertions, 1 deletions
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