jruby: use install_symlink

This commit is contained in:
Adam Vandenberg 2012-02-12 14:35:56 -08:00
parent d302b2ac57
commit ef5688abab

View file

@ -23,12 +23,8 @@ class Jruby < Formula
end
end
(prefix+'jruby').install Dir['*']
bin.mkpath
Dir["#{prefix}/jruby/bin/*"].each do |f|
ln_s f, bin+File.basename(f)
end
libexec.install Dir['*']
bin.install_symlink Dir["#{libexec}/bin/*"]
end
def test