aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-08-12 18:47:38 -0500
committerJack Nagel2013-08-12 18:47:38 -0500
commit954e73ecbef508ee1605c20b1ea9b5f385fab0d0 (patch)
tree438db45913d51b18a0dca3aa01d0fc5713bf968d /Library/Formula
parentd4ca09d22ce1e39c9734c7206a93c2782118f05c (diff)
downloadhomebrew-954e73ecbef508ee1605c20b1ea9b5f385fab0d0.tar.bz2
checkstyle: interpolate version
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/checkstyle.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/checkstyle.rb b/Library/Formula/checkstyle.rb
index 7e54e5c32..3382c5dad 100644
--- a/Library/Formula/checkstyle.rb
+++ b/Library/Formula/checkstyle.rb
@@ -6,8 +6,8 @@ class Checkstyle < Formula
sha1 'cf08ac75aedddcd3a8d1f27fcbbb6095b0d1d5e3'
def install
- libexec.install 'checkstyle-5.6-all.jar', 'sun_checks.xml'
- bin.write_jar_script libexec/'checkstyle-5.6-all.jar', 'checkstyle'
+ libexec.install "checkstyle-#{version}-all.jar", "sun_checks.xml"
+ bin.write_jar_script libexec/"checkstyle-#{version}-all.jar", "checkstyle"
end
test do