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/09/19 07:54:47 UTC

kylin git commit: KYLIN-2028 output-delimiter option to sed command

Repository: kylin
Updated Branches:
  refs/heads/master 805b938d5 -> 9ebc741d8


KYLIN-2028 output-delimiter option to sed command

Signed-off-by: Li Yang <li...@apache.org>


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

Branch: refs/heads/master
Commit: 9ebc741d871ce5cb679d440b8e6adf9ac9cb6692
Parents: 805b938
Author: Roger Shi <ro...@kyligence.io>
Authored: Mon Sep 19 14:18:33 2016 +0800
Committer: Li Yang <li...@apache.org>
Committed: Mon Sep 19 15:54:36 2016 +0800

----------------------------------------------------------------------
 build/bin/find-hbase-dependency.sh | 2 +-
 build/bin/find-hive-dependency.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/9ebc741d/build/bin/find-hbase-dependency.sh
----------------------------------------------------------------------
diff --git a/build/bin/find-hbase-dependency.sh b/build/bin/find-hbase-dependency.sh
index c29de43..ea9a2e2 100644
--- a/build/bin/find-hbase-dependency.sh
+++ b/build/bin/find-hbase-dependency.sh
@@ -25,7 +25,7 @@ if [ -n is_aws ] && [ -d "/usr/lib/oozie/lib" ]; then
     export HBASE_ENV_INIT="true"
 fi
 
-arr=(`echo $hbase_classpath | cut -d ":"  --output-delimiter=" " -f 1-`)
+arr=(`echo $hbase_classpath | cut -d ":" -f 1- | sed 's/:/ /g'`)
 hbase_common_path=
 for data in ${arr[@]}
 do

http://git-wip-us.apache.org/repos/asf/kylin/blob/9ebc741d/build/bin/find-hive-dependency.sh
----------------------------------------------------------------------
diff --git a/build/bin/find-hive-dependency.sh b/build/bin/find-hive-dependency.sh
index 71c2fe6..d17b47e 100644
--- a/build/bin/find-hive-dependency.sh
+++ b/build/bin/find-hive-dependency.sh
@@ -38,7 +38,7 @@ else
 fi
 
 hive_classpath=`echo $hive_env | grep 'env:CLASSPATH' | awk -F '=' '{print $2}'`
-arr=(`echo $hive_classpath | cut -d ":"  --output-delimiter=" " -f 1-`)
+arr=(`echo $hive_classpath | cut -d ":" -f 1- | sed 's/:/ /g'`)
 hive_conf_path=
 hive_exec_path=