antlr: interpolate version

This commit is contained in:
Jack Nagel 2013-07-16 19:44:03 -05:00
parent ec9742af55
commit 56e493e8c6

View file

@ -6,7 +6,7 @@ class Antlr < Formula
sha1 '2f80d904ab786d0616560085d30d402e90b9880a'
def install
prefix.install "antlr-4.1-complete.jar"
bin.write_jar_script prefix/"antlr-4.1-complete.jar", "antlr4"
prefix.install "antlr-#{version}-complete.jar"
bin.write_jar_script prefix/"antlr-#{version}-complete.jar", "antlr4"
end
end