shaofengshi closed pull request #354: KYLIN-3697 minor, only kylin.sh start 
check-env
URL: https://github.com/apache/kylin/pull/354
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/build/bin/kylin.sh b/build/bin/kylin.sh
index b65cb958a5..b04707815c 100755
--- a/build/bin/kylin.sh
+++ b/build/bin/kylin.sh
@@ -27,7 +27,6 @@ if [ "$verbose" = true ]; then
     shift
 fi
 
-source ${dir}/check-env.sh
 mkdir -p ${KYLIN_HOME}/logs
 mkdir -p ${KYLIN_HOME}/ext
 
@@ -66,7 +65,9 @@ then
           quit "Kylin is running, stop it first"
         fi
     fi
-    
+
+    source ${dir}/check-env.sh
+
     tomcat_root=${dir}/../tomcat
     export tomcat_root
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to