comparison dist/scripts/install.sh @ 306:7f38793a99ee

add tar-luan.sh git-svn-id: https://luan-java.googlecode.com/svn/trunk@307 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 22 Dec 2014 08:27:08 +0000
parents
children
comparison
equal deleted inserted replaced
305:5e7450ac27f2 306:7f38793a99ee
1 cd `dirname $0`
2
3 cat >/usr/local/bin/luan <<End
4 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done
5
6 java -classpath \$CLASSPATH luan.Luan \$*
7 End
8
9 chmod +x /usr/local/bin/luan
10
11 echo "the command 'luan' has been installed"