variable renaming
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/320c72cc Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/320c72cc Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/320c72cc Branch: refs/heads/master Commit: 320c72ccb048870f5b1aa55526b6ce59cf97dbeb Parents: b9c439e Author: honma <ho...@ebay.com> Authored: Mon Nov 23 13:21:46 2015 +0800 Committer: honma <ho...@ebay.com> Committed: Mon Nov 23 13:21:46 2015 +0800 ---------------------------------------------------------------------- bin/find-hive-dependency.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/320c72cc/bin/find-hive-dependency.sh ---------------------------------------------------------------------- diff --git a/bin/find-hive-dependency.sh b/bin/find-hive-dependency.sh index ee36fc3..ea2e161 100755 --- a/bin/find-hive-dependency.sh +++ b/bin/find-hive-dependency.sh @@ -41,9 +41,9 @@ done if [ -z "$HCAT_HOME" ] then echo "HCAT_HOME not found, try to find hcatalog path from hive home" - hive_home=`echo $hive_exec_path | awk -F '/hive.*/lib/' '{print $1}'` - if [ -d "${hive_home}/hive-hcatalog" ]; then - hcatalog_home=${hive_home}/hive-hcatalog + hadoop_home=`echo $hive_exec_path | awk -F '/hive.*/lib/' '{print $1}'` + if [ -d "${hadoop_home}/hive-hcatalog" ]; then + hcatalog_home=${hadoop_home}/hive-hcatalog else echo "Couldn't locate hcatalog installation, please make sure it is installed and set HCAT_HOME to the path." exit 1