aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/hadoop.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-01-28 11:25:36 -0800
committerAdam Vandenberg2012-01-28 11:25:36 -0800
commit8451bd205eff832584f14f155e910b7f3551fd1e (patch)
tree5d44ca6afd438ee77d2dc194c493b1183357c1a5 /Library/Formula/hadoop.rb
parent0eaba2b4e11d36a8e5fc6a5e2340966401146c24 (diff)
downloadhomebrew-8451bd205eff832584f14f155e910b7f3551fd1e.tar.bz2
Normalize JAVA_HOME
Diffstat (limited to 'Library/Formula/hadoop.rb')
-rw-r--r--Library/Formula/hadoop.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/hadoop.rb b/Library/Formula/hadoop.rb
index c76aaedc2..261e8c327 100644
--- a/Library/Formula/hadoop.rb
+++ b/Library/Formula/hadoop.rb
@@ -24,7 +24,7 @@ class Hadoop < Formula
inreplace "#{libexec}/conf/hadoop-env.sh",
"# export JAVA_HOME=/usr/lib/j2sdk1.6-sun",
- "export JAVA_HOME=$(/usr/libexec/java_home)"
+ "export JAVA_HOME=\"$(/usr/libexec/java_home)\""
end
def caveats; <<-EOS.undent