view scripts/install.sh @ 602:b33c7c1e45d0

Added tag 0.12 for changeset d36027b41570
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 10 Nov 2015 06:01:19 -0700
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"