antlr: interpolate version
This commit is contained in:
parent
ec9742af55
commit
56e493e8c6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue