aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorM Jordan Stanway2015-09-29 11:09:25 -0700
committerXu Cheng2015-10-08 16:23:40 +0800
commita7df9c53eb7343f8f9b03e2220dba051c392aded (patch)
treeb06214af0805f29474a02988f8b6e841ec1ea608 /Library
parent235c5b6bfa5a07168bba4fa513bc7c0c960bd149 (diff)
downloadbrew-a7df9c53eb7343f8f9b03e2220dba051c392aded.tar.bz2
keg: add java to SHARE_PATHS
Add `java` to `SHARE_PATHS` so that `HOMEBREW_PREFIX/share/java` is a folder with symlinks in it, rather than a symlink to a folder for a specific formula. This way we avoid conflicts if multiple formulas put `jar` files in the standard location `HOMEBREW_PREFIX/share/java`. See also: [pull request 44420](https://github.com/Homebrew/homebrew/pull/44420) Closes Homebrew/homebrew#44456. Signed-off-by: Xu Cheng <xucheng@me.com>
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 374f3d5e4..1d0361983 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -72,7 +72,7 @@ class Keg
# These paths relative to the keg's share directory should always be real
# directories in the prefix, never symlinks.
SHARE_PATHS = %w[
- aclocal doc info locale man
+ aclocal doc info java locale man
man/man1 man/man2 man/man3 man/man4
man/man5 man/man6 man/man7 man/man8
man/cat1 man/cat2 man/cat3 man/cat4