This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/main by this push:
     new e9e12a5  KYLIN-5112, Use 'return' instead of 'exit' in script 
prepare_hadoop_dependency.sh
e9e12a5 is described below

commit e9e12a5edcfc9cbb25ab334ec160f9a6f2c656eb
Author: Mukvin <boyboys...@163.com>
AuthorDate: Tue Nov 2 10:33:14 2021 +0800

    KYLIN-5112, Use 'return' instead of 'exit' in script 
prepare_hadoop_dependency.sh
---
 build/bin/prepare_hadoop_dependency.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/bin/prepare_hadoop_dependency.sh 
b/build/bin/prepare_hadoop_dependency.sh
index 4ef1f30..883fa5f 100644
--- a/build/bin/prepare_hadoop_dependency.sh
+++ b/build/bin/prepare_hadoop_dependency.sh
@@ -29,7 +29,7 @@ fi
 
 if [ ! -d "$KYLIN_HOME/spark" ]; then
   echo "Skip spark which not owned by kylin. SPARK_HOME is $SPARK_HOME and 
KYLIN_HOME is $KYLIN_HOME ."
-  exit 0
+  return
 fi
 
 echo "Start replace hadoop jars under ${KYLIN_HOME}/spark/jars."

Reply via email to