jython: dereference the jython symlink ahead of time

Closes Homebrew/homebrew#22302.
This commit is contained in:
Adam Vandenberg 2013-11-10 20:57:39 -08:00
parent 3c1a71fd72
commit e82e944115

View file

@ -13,6 +13,7 @@ class Jython < Formula
def install
system "java", "-jar", cached_download, "-s", "-d", libexec
inreplace libexec/'bin/jython', 'PRG=$0', "PRG=#{libexec}/bin/jython"
bin.install_symlink libexec/'bin/jython'
end
end