aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-03-20 16:57:49 -0500
committerMisty De Meo2012-03-20 17:00:38 -0500
commit49ed6413aeba2037c5fa84e239a3885ac2c785d3 (patch)
tree237e36af47d5300129b6640e3e7add2438958621 /Library
parent7b16fc3c4d120349ec7c988b8c23c00983a39082 (diff)
downloadhomebrew-49ed6413aeba2037c5fa84e239a3885ac2c785d3.tar.bz2
Don't try to link info/dir with HOMEBREW_KEEP_INFO
Some formulae have local info/dir files from before 9610ff2, and attempting to link their info/dir over PREFIX/share/info/dir caused linking to fail.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index 78335b2f7..c3a5443f1 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -149,6 +149,7 @@ protected
when :skip_file, nil
Find.prune
when :info
+ next if File.basename(src) == 'dir' # skip historical local 'dir' files
make_relative_symlink dst, src
dst.install_info
else