diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/redpen.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/redpen.rb b/Library/Formula/redpen.rb index 79f488ac5..c2ac39285 100644 --- a/Library/Formula/redpen.rb +++ b/Library/Formula/redpen.rb @@ -11,8 +11,7 @@ class Redpen < Formula libexec.install %w[conf lib sample-doc] prefix.install "bin" - java_home = `/usr/libexec/java_home`.chomp - bin.env_script_all_files(libexec/"bin", :JAVA_HOME => java_home) + bin.env_script_all_files(libexec/"bin", :JAVA_HOME => ENV["JAVA_HOME"]) end test do |
