Skip to content
Browse files

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.
  • Loading branch information...
1 parent 4ebe5f6 commit fdb41a310f793f416444e8edcbbd4f80e39e28db @adamv adamv committed Aug 8, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 Library/Formula/scala.rb
5 Library/Formula/scala.rb
@@ -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 }

0 comments on commit fdb41a3

Please sign in to comment.
Something went wrong with that request. Please try again.