Mercurial Hosting > luan
comparison scripts/build-luan.sh @ 309:6bf47e28e0e5
fix build
git-svn-id: https://luan-java.googlecode.com/svn/trunk@310 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 23 Dec 2014 05:50:22 +0000 |
parents | 869d2263de5d |
children | 22ca4f3a65c3 |
comparison
equal
deleted
inserted
replaced
308:869d2263de5d | 309:6bf47e28e0e5 |
---|---|
1 . check_luan_home.sh | |
2 | |
3 cd $LUAN_HOME | |
1 VERSION=`svnversion` | 4 VERSION=`svnversion` |
2 | 5 |
3 if echo $VERSION | grep : | 6 if echo $VERSION | grep : |
4 then | 7 then |
5 echo "svn update needed" | 8 echo "svn update needed" |
6 exit 1 | 9 exit 1 |
7 fi | 10 fi |
8 | 11 |
9 | 12 |
10 LUAN_BUILD=~/luanbuild | 13 LUAN_BUILD=~/luanbuild |
11 | |
12 . check_luan_home.sh | |
13 | 14 |
14 set -e | 15 set -e |
15 | 16 |
16 rm -rf $LUAN_BUILD | 17 rm -rf $LUAN_BUILD |
17 mkdir $LUAN_BUILD | 18 mkdir $LUAN_BUILD |
63 cp $LUAN_HOME/web/ext/* $LUAN_BUILD/luan/jars | 64 cp $LUAN_HOME/web/ext/* $LUAN_BUILD/luan/jars |
64 cp $LUAN_HOME/logging/ext/* $LUAN_BUILD/luan/jars | 65 cp $LUAN_HOME/logging/ext/* $LUAN_BUILD/luan/jars |
65 cp $LUAN_HOME/mail/ext/* $LUAN_BUILD/luan/jars | 66 cp $LUAN_HOME/mail/ext/* $LUAN_BUILD/luan/jars |
66 cp $LUAN_HOME/lucene/ext/* $LUAN_BUILD/luan/jars | 67 cp $LUAN_HOME/lucene/ext/* $LUAN_BUILD/luan/jars |
67 | 68 |
68 cp $LUAN_HOME/dist/scripts/install.sh $LUAN_BUILD/luan | 69 cp $LUAN_HOME/scripts/install.sh $LUAN_BUILD/luan |
69 chmod +x $LUAN_BUILD/luan/install.sh | 70 chmod +x $LUAN_BUILD/luan/install.sh |
70 cp $LUAN_HOME/dist/scripts/uninstall.sh $LUAN_BUILD/luan | 71 cp $LUAN_HOME/scripts/uninstall.sh $LUAN_BUILD/luan |
71 | 72 |
72 cd $LUAN_BUILD | 73 cd $LUAN_BUILD |
73 tar -cf luan-$VERSION.tar luan | 74 tar -cf luan-$VERSION.tar luan |
75 | |
76 echo done |