You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2014/02/07 20:52:04 UTC

svn commit: r1565774 - /hive/trunk/hcatalog/bin/hcat

Author: thejas
Date: Fri Feb  7 19:52:03 2014
New Revision: 1565774

URL: http://svn.apache.org/r1565774
Log:
HIVE-6381 : bin/hcat script won't launch - uses invalid  (Eugene Koifman via Thejas Nair)

Modified:
    hive/trunk/hcatalog/bin/hcat

Modified: hive/trunk/hcatalog/bin/hcat
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/bin/hcat?rev=1565774&r1=1565773&r2=1565774&view=diff
==============================================================================
--- hive/trunk/hcatalog/bin/hcat (original)
+++ hive/trunk/hcatalog/bin/hcat Fri Feb  7 19:52:03 2014
@@ -67,7 +67,7 @@ done
 # check for hive in the path
 HIVE_IN_PATH=`which hive 2>/dev/null`
 # looks like [ -f '' ] is true...
-if [ -n ${HIVE_IN_PATH} ]; then
+if [ -n "$HIVE_IN_PATH" ]; then
   #dir of hive scrip
   HIVE_DIR=`dirname "$HIVE_IN_PATH"`
   #one level up for base dir