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:07 UTC

[17/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/376941bd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/376941bd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/376941bd

Branch: refs/heads/inverted-index
Commit: 376941bdc508fbf4de12663ff1dbc32bba948f07
Parents: 681314c
Author: qianhao.zhou <qi...@ebay.com>
Authored: Tue Feb 10 17:49:20 2015 +0800
Committer: qianhao.zhou <qi...@ebay.com>
Committed: Tue Feb 10 17:49:20 2015 +0800

----------------------------------------------------------------------
 script/build.sh   | 2 +-
 script/package.sh | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/376941bd/script/build.sh
----------------------------------------------------------------------
diff --git a/script/build.sh b/script/build.sh
index 08b2b0a..3014123 100644
--- a/script/build.sh
+++ b/script/build.sh
@@ -11,7 +11,7 @@ mvn clean install -DskipTests
 echo 'package front-end'
 cd webapp
 npm install -g bower
-bower install
+bower --allow-root install
 npm install
 npm install -g grunt-cli
 grunt dev --buildEnv=dev

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/376941bd/script/package.sh
----------------------------------------------------------------------
diff --git a/script/package.sh b/script/package.sh
index 6252690..018491e 100755
--- a/script/package.sh
+++ b/script/package.sh
@@ -26,8 +26,8 @@ version=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpress
 echo "kylin version: ${version}"
 export version
 
-sh script/build.sh || { exit 1; }
-sh script/prepare.sh || { exit 1; }
-sh script/download-tomcat.sh || { exit 1; }
-sh scirpt/compress.sh || { exit 1; }
+sh ${dir}/build.sh || { exit 1; }
+sh ${dir}/prepare.sh || { exit 1; }
+sh ${dir}/download-tomcat.sh || { exit 1; }
+sh ${dir}/compress.sh || { exit 1; }