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 2015/02/12 06:43:02 UTC

[12/50] incubator-kylin git commit: fix script

fix script


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

Branch: refs/heads/inverted-index
Commit: c94519ac3f7937fa9e4b525e08c9a09414c94f58
Parents: 20e58b0
Author: qianhao.zhou <qi...@ebay.com>
Authored: Tue Feb 10 17:26:48 2015 +0800
Committer: qianhao.zhou <qi...@ebay.com>
Committed: Tue Feb 10 17:26:48 2015 +0800

----------------------------------------------------------------------
 script/download-tomcat.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/c94519ac/script/download-tomcat.sh
----------------------------------------------------------------------
diff --git a/script/download-tomcat.sh b/script/download-tomcat.sh
index 3afc0df..fdbe440 100644
--- a/script/download-tomcat.sh
+++ b/script/download-tomcat.sh
@@ -3,15 +3,16 @@
 dir=$(dirname ${0})
 cd ${dir}/..
 
-rm apache-tomcat-7.0.57.tar.gz
 rm -rf tomcat
 
 if [ ! -f "apache-tomcat-7.0.59.tar.gz" ]
 then
+    echo "not binary file found"
     wget http://mirror.sdunix.com/apache/tomcat/tomcat-7/v7.0.57/bin/apache-tomcat-7.0.59.tar.gz
 else
     if [ ! `md5sum apache-tomcat-7.0.59.tar.gz | awk '{print $1}'` -eq "ec570258976edf9a833cd88fd9220909" ]
     then
+        echo "md5 check failed"
         rm apache-tomcat-7.0.59.tar.gz
         wget http://mirror.sdunix.com/apache/tomcat/tomcat-7/v7.0.57/bin/apache-tomcat-7.0.59.tar.gz
     fi