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/11/29 11:12:08 UTC

kylin git commit: Revert "KYLIN-2195 could run get-properties.sh in source code dir"

Repository: kylin
Updated Branches:
  refs/heads/master 8506e4d4f -> 3186d1761


Revert "KYLIN-2195 could run get-properties.sh in source code dir"

This reverts commit 8506e4d4f75fbbda518997cac97e3333229fa5a0.


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

Branch: refs/heads/master
Commit: 3186d176113596c71a47d98a927564cefff3b123
Parents: 8506e4d
Author: lidongsjtu <li...@apache.org>
Authored: Tue Nov 29 19:11:50 2016 +0800
Committer: lidongsjtu <li...@apache.org>
Committed: Tue Nov 29 19:11:50 2016 +0800

----------------------------------------------------------------------
 build/bin/get-properties.sh | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/3186d176/build/bin/get-properties.sh
----------------------------------------------------------------------
diff --git a/build/bin/get-properties.sh b/build/bin/get-properties.sh
index 0fa4f6f..170442d 100755
--- a/build/bin/get-properties.sh
+++ b/build/bin/get-properties.sh
@@ -19,21 +19,13 @@
 
 source $(cd -P -- "$(dirname -- "$0")" && pwd -P)/header.sh
 
-
 if [ $# != 1 ]
 then
     echo 'invalid input'
     exit -1
 fi
 
-if [[ $CI_MODE == 'true' ]]; then
-    cd $dir
-    job_jar=$(ls ../../assembly/target/kylin-*-job.jar)
-    tool_jar=$(ls ../../tool/target/kylin-tool-*.jar|grep -v assembly)
-else
-    job_jar=$(ls $KYLIN_HOME/lib/kylin-job-*.jar)
-    tool_jar=$(ls $KYLIN_HOME/tool/kylin-tool-*.jar)
-fi
-
+job_jar=$(ls $KYLIN_HOME/lib/kylin-job-*.jar)
+tool_jar=$(ls $KYLIN_HOME/tool/kylin-tool-*.jar)
 result=`java -cp $job_jar:$tool_jar org.apache.kylin.tool.KylinConfigCLI $1 2>/dev/null`
 echo "$result"