hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1512832 - /hive/trunk/hcatalog/bin/hcat
Date Sat, 10 Aug 2013 22:16:52 GMT
Author: brock
Date: Sat Aug 10 22:16:52 2013
New Revision: 1512832

URL: http://svn.apache.org/r1512832
Log:
HIVE-5046: Hcatalog's bin/hcat script doesn't respect HIVE_HOME (Mark Grover via Brock Noland)

Modified:
    hive/trunk/hcatalog/bin/hcat

Modified: hive/trunk/hcatalog/bin/hcat
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/bin/hcat?rev=1512832&r1=1512831&r2=1512832&view=diff
==============================================================================
--- hive/trunk/hcatalog/bin/hcat (original)
+++ hive/trunk/hcatalog/bin/hcat Sat Aug 10 22:16:52 2013
@@ -78,7 +78,7 @@ fi
 HIVE_HOME=${HIVE_HOME:-$HIVE_DIR}
 
 #if hive is not in path and not set by env, set it to default in build tree
-if [ -n ${HIVE_HOME} ]; then
+if [ ! -n "${HIVE_HOME}" ]; then
   HIVE_HOME="${bin}/../.."
   echoerr "HIVE_HOME is not defined; assuming ${HIVE_HOME}";
 fi



Mime
View raw message