Install scala to libexec and link in "bin"
Homebrew policy is to avoid putting jars into "lib", so moving Scala to a more idiomatic Java install.
This commit is contained in:
parent
b8990a24b9
commit
9e86e99c57
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@ class Scala <Formula
|
|||
|
||||
def install
|
||||
rm_f Dir["bin/*.bat"]
|
||||
doc.install Dir['doc/*']
|
||||
man1.install Dir['man/man1/*']
|
||||
prefix.install Dir['*']
|
||||
libexec.install Dir['*']
|
||||
bin.mkpath
|
||||
Dir["#{libexec}/bin/*"].each { |f| ln_s f, bin }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue