Hadoop: don't link rcc into bin

Closes Homebrew/homebrew#15501.
This commit is contained in:
Adam Vandenberg 2012-12-16 16:37:56 -08:00
parent 8171fcfe63
commit 5bb89db922

View file

@ -10,6 +10,8 @@ class Hadoop < Formula
libexec.install %w[bin conf lib webapps contrib] libexec.install %w[bin conf lib webapps contrib]
libexec.install Dir['*.jar'] libexec.install Dir['*.jar']
bin.write_exec_script Dir["#{libexec}/bin/*"] bin.write_exec_script Dir["#{libexec}/bin/*"]
# But don't make rcc visible, it conflicts with Qt
(bin/'rcc').unlink
inreplace "#{libexec}/conf/hadoop-env.sh", inreplace "#{libexec}/conf/hadoop-env.sh",
"# export JAVA_HOME=/usr/lib/j2sdk1.5-sun", "# export JAVA_HOME=/usr/lib/j2sdk1.5-sun",