Mercurial Hosting > luan
comparison scripts/install.sh @ 1380:04482e2a6ca3
fix ssl
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 28 Jul 2019 11:06:37 -0600 |
parents | fec01f044474 |
children | d80395468b4e |
comparison
equal
deleted
inserted
replaced
1379:87a3738d7cc5 | 1380:04482e2a6ca3 |
---|---|
4 | 4 |
5 mkdir -p /usr/local/bin | 5 mkdir -p /usr/local/bin |
6 | 6 |
7 cat >/usr/local/bin/luan <<End | 7 cat >/usr/local/bin/luan <<End |
8 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done | 8 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done |
9 SECURITY=`pwd`/jvm.java.security; | |
9 | 10 |
10 java -classpath \$CLASSPATH luan.Luan "\$@" | 11 java -classpath \$CLASSPATH -Djava.security.properties="\$SECURITY" luan.Luan "\$@" |
11 End | 12 End |
12 | 13 |
13 chmod +x /usr/local/bin/luan | 14 chmod +x /usr/local/bin/luan |
14 | 15 |
15 echo "the command 'luan' has been installed" | 16 echo "the command 'luan' has been installed" |