view scripts/install.sh @ 760:2a91bde4e1e1

Added tag 0.21 for changeset ae612dfc57cb
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Jul 2016 19:15:02 -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"