comparison scripts/build-luan.sh @ 311:22ca4f3a65c3

remove LUAN_HOME git-svn-id: https://luan-java.googlecode.com/svn/trunk@312 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Tue, 23 Dec 2014 07:39:30 +0000
parents 6bf47e28e0e5
children c730ff1e4bae
comparison
equal deleted inserted replaced
310:9e9bb358b2df 311:22ca4f3a65c3
1 . check_luan_home.sh 1 set -e
2 2
3 cd $LUAN_HOME 3 cd `dirname $0`/..
4 LUAN_HOME=`pwd`
5 LUAN_BUILD=$LUAN_HOME/build
6
4 VERSION=`svnversion` 7 VERSION=`svnversion`
5 8
6 if echo $VERSION | grep : 9 if echo $VERSION | grep :
7 then 10 then
8 echo "svn update needed" 11 echo "svn update needed"
9 exit 1 12 exit 1
10 fi 13 fi
11
12
13 LUAN_BUILD=~/luanbuild
14
15 set -e
16 14
17 rm -rf $LUAN_BUILD 15 rm -rf $LUAN_BUILD
18 mkdir $LUAN_BUILD 16 mkdir $LUAN_BUILD
19 mkdir $LUAN_BUILD/luan 17 mkdir $LUAN_BUILD/luan
20 mkdir $LUAN_BUILD/luan/jars 18 mkdir $LUAN_BUILD/luan/jars