diff dist/scripts/luan.sh @ 238:55b4b077e5cc

improve scripts git-svn-id: https://luan-java.googlecode.com/svn/trunk@239 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 06 Oct 2014 20:25:56 +0000
parents 97d175772fed
children
line wrap: on
line diff
--- a/dist/scripts/luan.sh	Mon Oct 06 04:07:56 2014 +0000
+++ b/dist/scripts/luan.sh	Mon Oct 06 20:25:56 2014 +0000
@@ -1,8 +1,5 @@
-CURRDIR=`pwd`
-cd `dirname $0`/../..
-HOME=`pwd`
-cd $CURRDIR
+. check_luan_home.sh
 
-. luan-cp.sh $HOME
+. luan-classpath.sh
 
 java -classpath $CLASSPATH luan.Luan $*