aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jython.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2009-11-25 22:55:45 -0800
committerMax Howell2009-12-12 16:24:16 +0000
commite7e15230b98f4a2426e8802851ae2d2b66c39678 (patch)
tree70d7a06e0dc91189facc1f0ee41cd04760fa98c3 /Library/Formula/jython.rb
parentb84b3e031c6ab9154476b92d3be3a1497f108e70 (diff)
downloadhomebrew-e7e15230b98f4a2426e8802851ae2d2b66c39678.tar.bz2
Remove duplication of Jar name in Jython.
Diffstat (limited to 'Library/Formula/jython.rb')
-rw-r--r--Library/Formula/jython.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/jython.rb b/Library/Formula/jython.rb
index c7d8190a6..7e257a228 100644
--- a/Library/Formula/jython.rb
+++ b/Library/Formula/jython.rb
@@ -1,7 +1,8 @@
require 'formula'
class Jython <Formula
- url 'http://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar'
+ JAR = 'jython_installer-2.5.1.jar'
+ url "http://downloads.sourceforge.net/project/jython/jython/2.5.1/#{JAR}"
homepage 'http://www.jython.org'
md5 '2ee978eff4306b23753b3fe9d7af5b37'
@@ -10,6 +11,6 @@ class Jython <Formula
end
def install
- system "java", "-jar", "jython_installer-2.5.1.jar", "-s", "-d", prefix
+ system "java", "-jar", JAR, "-s", "-d", prefix
end
end