view scripts/install.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 869d2263de5d
children 1f6d828986b9
line wrap: on
line source

cd `dirname $0`

cat >/usr/local/bin/luan <<End
for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done

java -classpath \$CLASSPATH luan.Luan \$*
End

chmod +x /usr/local/bin/luan

echo "the command 'luan' has been installed"