Permalink
Browse files

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.
  • Loading branch information...
1 parent 7b16fc3 commit 49ed6413aeba2037c5fa84e239a3885ac2c785d3 @mistydemeo mistydemeo committed Mar 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Library/Homebrew/keg.rb
View
@@ -149,6 +149,7 @@ def link_dir foo
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

0 comments on commit 49ed641

Please sign in to comment.