Mercurial Hosting > luan
comparison scripts/install.sh @ 1506:d80395468b4e
ssl security in code
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 15 May 2020 18:29:47 -0600 |
| parents | 04482e2a6ca3 |
| children | 39d2be9784ab |
comparison
equal
deleted
inserted
replaced
| 1505:01e38174d580 | 1506:d80395468b4e |
|---|---|
| 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; | |
| 10 | 9 |
| 11 java -classpath \$CLASSPATH -Djava.security.properties="\$SECURITY" luan.Luan "\$@" | 10 java -classpath \$CLASSPATH luan.Luan "\$@" |
| 12 End | 11 End |
| 13 | 12 |
| 14 chmod +x /usr/local/bin/luan | 13 chmod +x /usr/local/bin/luan |
| 15 | 14 |
| 16 echo "the command 'luan' has been installed" | 15 echo "the command 'luan' has been installed" |
