view scripts/install.sh @ 635:c83b8cefd922

better error handling in theme code
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 01 Mar 2016 07:01:58 -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"