aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2012-03-20 16:57:49 -0500
committerMisty De Meo2012-03-20 17:00:38 -0500
commitde234ebb5a4fc99f0fad741360bba174ea773af5 (patch)
treeac6fc9951eb335e0f1e21873e30769f0bf7b3aee
parentbc7469c819e18afa07f4c719d895e3c3c80f8c3f (diff)
downloadbrew-de234ebb5a4fc99f0fad741360bba174ea773af5.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.
-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