diff options
| author | Gabor Ratky | 2014-01-11 11:20:27 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-16 11:35:18 -0700 |
| commit | 7ebe48e608fe4e113d0d6c839ea764cca1a29168 (patch) | |
| tree | 7db14fd7069fc79b0804e44e506e9ef47002edd7 | |
| parent | 94dbdd20011bbf42d9022dc78e16006701f12e44 (diff) | |
| download | homebrew-7ebe48e608fe4e113d0d6c839ea764cca1a29168.tar.bz2 | |
hive: install hcatalog
Closes #27486.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/hive.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/hive.rb b/Library/Formula/hive.rb index e34aeedb5..13b60cc32 100644 --- a/Library/Formula/hive.rb +++ b/Library/Formula/hive.rb @@ -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 |
