aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jython.rb
diff options
context:
space:
mode:
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