Mercurial Hosting > luan
view scripts/install.sh @ 328:71e4f4ce74a3
load "site:/init" on webserver initialization
git-svn-id: https://luan-java.googlecode.com/svn/trunk@329 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 19 Mar 2015 07:18:49 +0000 |
parents | 1f6d828986b9 |
children | fec01f044474 |
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"