groovy: install jars in libexec to avoid conflicts

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
larsmoil 2010-09-29 22:56:20 +02:00 committed by Adam Vandenberg
parent a546bead67
commit 0fa60ffc70
1 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,14 @@ class Groovy <Formula
def install def install
rm_f Dir["bin/*.bat"] rm_f Dir["bin/*.bat"]
prefix.install %w[bin conf lib]
prefix.install %w{ LICENSE.txt NOTICE.txt }
libexec.install %w[bin conf lib]
bin.mkpath
Dir["#{libexec}/bin/*"].each do |f|
next unless File.extname(f).empty?
ln_s f, bin+File.basename(f)
end
end end
end end