view scripts/install.sh @ 697:bd979583e45e

Added tag 0.18 for changeset b21d82ee5756
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 02 May 2016 12:33:44 -0600
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"