You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2016/06/16 08:19:17 UTC

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

Repository: kylin
Updated Branches:
  refs/heads/master 930f397d8 -> baac10b03


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/b70ad407
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/b70ad407
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/b70ad407

Branch: refs/heads/master
Commit: b70ad40769c014d1e3e2041cae77754cad8e043a
Parents: 930f397
Author: Lingyan Jiang <ly...@hotmail.com>
Authored: Thu Jun 16 15:27:57 2016 +0800
Committer: zkld123 <zk...@sjtu.edu.cn>
Committed: Thu Jun 16 16:09:21 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/b70ad407/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


[2/2] kylin git commit: KYLIN-1679 Use full-match pattern to get kylin properties in shell scripts

Posted by li...@apache.org.
KYLIN-1679 Use full-match pattern to get kylin properties in shell scripts


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

Branch: refs/heads/master
Commit: baac10b037fc761690cc839e226f3f2c9ecc97a4
Parents: b70ad40
Author: zkld123 <zk...@sjtu.edu.cn>
Authored: Thu Jun 16 16:18:21 2016 +0800
Committer: zkld123 <zk...@sjtu.edu.cn>
Committed: Thu Jun 16 16:18:21 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/kylin/blob/baac10b0/build/bin/get-properties.sh
----------------------------------------------------------------------
diff --git a/build/bin/get-properties.sh b/build/bin/get-properties.sh
index 3151ad6..a53de6b 100755
--- a/build/bin/get-properties.sh
+++ b/build/bin/get-properties.sh
@@ -25,7 +25,7 @@ fi
 
 IFS=$'\n'
 result=
-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-`
+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