Mercurial Hosting > luan
comparison scripts/install.sh @ 1785:39d2be9784ab
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 10 Dec 2023 21:13:30 -0700 |
parents | d80395468b4e |
children | bda4ec615c5b |
comparison
equal
deleted
inserted
replaced
1784:fdc59d390615 | 1785:39d2be9784ab |
---|---|
3 cd `dirname $0` | 3 cd `dirname $0` |
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 #!/bin/bash | |
9 | |
8 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done | 10 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done |
9 | 11 |
10 java -classpath \$CLASSPATH luan.Luan "\$@" | 12 java -classpath \$CLASSPATH luan.Luan "\$@" |
11 End | 13 End |
12 | 14 |