fix a script issue on ubuntu, in script/prepare.sh

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

Branch: refs/heads/1.x-HBase1.1.3
Commit: cdea7313801747c2cb843418f1a5c3487520c879
Parents: afb1231
Author: shaofengshi <shaofeng...@apache.org>
Authored: Tue Dec 15 15:26:39 2015 +0800
Committer: shaofengshi <shaofeng...@apache.org>
Committed: Tue Dec 15 15:26:39 2015 +0800

----------------------------------------------------------------------
 script/prepare.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/cdea7313/script/prepare.sh
----------------------------------------------------------------------
diff --git a/script/prepare.sh b/script/prepare.sh
index 70f14c9..b335864 100755
--- a/script/prepare.sh
+++ b/script/prepare.sh
@@ -54,7 +54,7 @@ then
 fi
 
 cd webapp/dist
-for f in * .[^.]*
+for f in * .[!.]*
 do
     echo "Adding $f to war"
     jar -uf ../../dist/tomcat/webapps/kylin.war $f

Reply via email to