Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change from Dir[] to direct file reference for write_jar commands per…

… comment from adamv.
  • Loading branch information...
commit 318940b14a10bc78eb53bc494affb913332ce698 1 parent 5279bde
@osterwood authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Library/Formula/batik.rb
View
4 Library/Formula/batik.rb
@@ -11,8 +11,8 @@ def install
libexec.install Dir['*.jar']
libexec.install 'lib'
- bin.write_jar_script Dir[libexec/'batik-rasterizer.jar'].first, 'batik-rasterizer'
- bin.write_jar_script Dir[libexec/'batik.jar'].first, 'batik'
+ bin.write_jar_script libexec/'batik-rasterizer.jar', 'batik-rasterizer'
+ bin.write_jar_script libexec/'batik.jar', 'batik'
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.