hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject hive git commit: HIVE-12834 : Fix to accept the arrow keys in BeeLine CLI (Shinichi Yamashita via Ashutosh Chauhan)
Date Tue, 02 Feb 2016 06:47:05 GMT
Repository: hive
Updated Branches:
  refs/heads/master ecf45b9ff -> cd9185cc4


HIVE-12834 : Fix to accept the arrow keys in BeeLine CLI (Shinichi Yamashita via Ashutosh
Chauhan)

Signed-off-by: Ashutosh Chauhan <hashutosh@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/cd9185cc
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/cd9185cc
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/cd9185cc

Branch: refs/heads/master
Commit: cd9185cc47adb0aa2da4596841c9d1a6379ce16a
Parents: ecf45b9
Author: Shinichi Yamashita <yamashitasni@oss.nttdata.co.jp>
Authored: Sat Jan 9 20:00:00 2016 -0800
Committer: Ashutosh Chauhan <hashutosh@apache.org>
Committed: Mon Feb 1 22:46:38 2016 -0800

----------------------------------------------------------------------
 bin/beeline | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/cd9185cc/bin/beeline
----------------------------------------------------------------------
diff --git a/bin/beeline b/bin/beeline
index e88ae4a..4360ae0 100644
--- a/bin/beeline
+++ b/bin/beeline
@@ -28,7 +28,7 @@ fi
 export HADOOP_USER_CLASSPATH_FIRST=true
 
 # If process is backgrounded, don't change terminal settings
-if [[ ! $(ps -o stat= -p $$) =~ + ]]; then
+if [[ ! $(ps -o stat= -p $$) =~ "+" ]]; then
   export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Djline.terminal=jline.UnsupportedTerminal"
 fi
 


Mime
View raw message