aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jython.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-10 20:57:39 -0800
committerAdam Vandenberg2013-11-10 20:57:39 -0800
commitb608c1d074bd958fe0a1cfb473d971f154690900 (patch)
treec7753f2d618e057a866a32cc03e4fa3c4571ebc7 /Library/Formula/jython.rb
parentd68c241a539a75cee05833b58bc8b9fa221bc631 (diff)
downloadhomebrew-b608c1d074bd958fe0a1cfb473d971f154690900.tar.bz2
jython: dereference the jython symlink ahead of time
Closes #22302.
Diffstat (limited to 'Library/Formula/jython.rb')
-rw-r--r--Library/Formula/jython.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/jython.rb b/Library/Formula/jython.rb
index 0c21cd538..7e7884137 100644
--- a/Library/Formula/jython.rb
+++ b/Library/Formula/jython.rb
@@ -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