ant-contrib: use ant's lib.

This commit is contained in:
Mike McQuaid 2015-07-09 11:20:35 +01:00
parent eee714a5b9
commit 07a296d731

View file

@ -10,7 +10,7 @@ class AntContrib < Formula
depends_on "ant"
def install
libexec.install "lib", "ant-contrib-1.0b3.jar"
(share+"ant").install "ant-contrib-1.0b3.jar"
share.install "docs"
end
@ -28,6 +28,6 @@ class AntContrib < Formula
</target>
</project>
EOS
system Formula["ant"].opt_bin/"ant", "-lib", libexec
system Formula["ant"].opt_bin/"ant"
end
end