Skip to content
Snippets Groups Projects
Commit a7df9c53 authored by M Jordan Stanway's avatar M Jordan Stanway Committed by Xu Cheng
Browse files

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: default avatarXu Cheng <xucheng@me.com>
parent 235c5b6b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment