Mercurial Hosting > luan
view scripts/install.sh @ 1458:6b6c11c9164e
goodjava.lucene
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 20 Mar 2020 10:58:53 -0600 |
parents | 04482e2a6ca3 |
children | d80395468b4e |
line wrap: on
line source
set -e cd `dirname $0` mkdir -p /usr/local/bin cat >/usr/local/bin/luan <<End for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done SECURITY=`pwd`/jvm.java.security; java -classpath \$CLASSPATH -Djava.security.properties="\$SECURITY" luan.Luan "\$@" End chmod +x /usr/local/bin/luan echo "the command 'luan' has been installed"