You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2016/07/22 04:08:29 UTC

[2/5] kylin git commit: KYLIN-1679 get hive bee line properties fixed

KYLIN-1679 get hive bee line properties fixed

Signed-off-by: zkld123 <zk...@sjtu.edu.cn>


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

Branch: refs/heads/tpy
Commit: b8cae1ec24aefe586fc1a4656745d6264c129f81
Parents: 8283b76
Author: Lingyan Jiang <ly...@hotmail.com>
Authored: Thu Jun 16 15:27:57 2016 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Fri Jul 22 10:23:24 2016 +0800

----------------------------------------------------------------------
 build/bin/get-properties.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/b8cae1ec/build/bin/get-properties.sh
----------------------------------------------------------------------
diff --git a/build/bin/get-properties.sh b/build/bin/get-properties.sh
old mode 100644
new mode 100755
index 4c93b3b..3151ad6
--- a/build/bin/get-properties.sh
+++ b/build/bin/get-properties.sh
@@ -23,8 +23,9 @@ then
     exit -1
 fi
 
+IFS=$'\n'
 result=
-for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "$1" | grep -v '^#' |awk -F '=' '{print $2}' | cut -c 1-`
+for i in `cat ${KYLIN_HOME}/conf/kylin.properties|grep -w "$1"| grep -v '^#' |awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
 do
    :
    result=$i