diff 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
line wrap: on
line diff
--- a/scripts/build-luan.sh	Tue Dec 23 07:07:17 2014 +0000
+++ b/scripts/build-luan.sh	Tue Dec 23 07:39:30 2014 +0000
@@ -1,6 +1,9 @@
-. check_luan_home.sh
+set -e
 
-cd $LUAN_HOME
+cd `dirname $0`/..
+LUAN_HOME=`pwd`
+LUAN_BUILD=$LUAN_HOME/build
+
 VERSION=`svnversion`
 
 if echo $VERSION | grep :
@@ -9,11 +12,6 @@
 	exit 1
 fi
 
-
-LUAN_BUILD=~/luanbuild
-
-set -e
-
 rm -rf $LUAN_BUILD
 mkdir $LUAN_BUILD
 mkdir $LUAN_BUILD/luan