Remove duplication of Jar name in Jython.
This commit is contained in:
parent
38460e637f
commit
bfcfd573b1
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue