From 954e73ecbef508ee1605c20b1ea9b5f385fab0d0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 12 Aug 2013 18:47:38 -0500 Subject: checkstyle: interpolate version --- Library/Formula/checkstyle.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3