hive: install hcatalog

Closes Homebrew/homebrew#27486.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Gabor Ratky 2014-01-11 11:20:27 -08:00 committed by Adam Vandenberg
parent f52da10708
commit 04201fdb75
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Hive < Formula
def install
rm_f Dir["bin/*.bat"]
libexec.install %w[bin conf examples lib]
libexec.install %w[bin conf examples hcatalog lib scripts]
bin.write_exec_script Dir["#{libexec}/bin/*"]
end
@ -18,6 +18,9 @@ class Hive < Formula
After installation, set $HIVE_HOME in your profile:
export HIVE_HOME=#{libexec}
If you want to use HCatalog with Pig, set $HCAT_HOME in your profile:
export HCAT_HOME=#{libexec}/hcatalog
You may need to set JAVA_HOME:
export JAVA_HOME="$(/usr/libexec/java_home)"
EOS