changeset 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 9e9bb358b2df
files scripts/build-luan.sh
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/build-luan.sh	Tue Dec 23 05:48:49 2014 +0000
+++ b/scripts/build-luan.sh	Tue Dec 23 05:50:22 2014 +0000
@@ -1,3 +1,6 @@
+. check_luan_home.sh
+
+cd $LUAN_HOME
 VERSION=`svnversion`
 
 if echo $VERSION | grep :
@@ -9,8 +12,6 @@
 
 LUAN_BUILD=~/luanbuild
 
-. check_luan_home.sh
-
 set -e
 
 rm -rf $LUAN_BUILD
@@ -65,9 +66,11 @@
 cp $LUAN_HOME/mail/ext/* $LUAN_BUILD/luan/jars
 cp $LUAN_HOME/lucene/ext/* $LUAN_BUILD/luan/jars
 
-cp $LUAN_HOME/dist/scripts/install.sh $LUAN_BUILD/luan
+cp $LUAN_HOME/scripts/install.sh $LUAN_BUILD/luan
 chmod +x $LUAN_BUILD/luan/install.sh
-cp $LUAN_HOME/dist/scripts/uninstall.sh $LUAN_BUILD/luan
+cp $LUAN_HOME/scripts/uninstall.sh $LUAN_BUILD/luan
 
 cd $LUAN_BUILD
 tar -cf luan-$VERSION.tar luan
+
+echo done