Mercurial Hosting > luan
comparison scripts/install.sh @ 767:fec01f044474
improve install script
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 01 Aug 2016 01:44:39 -0600 |
parents | 1f6d828986b9 |
children | 04482e2a6ca3 |
comparison
equal
deleted
inserted
replaced
766:4f880e2663a2 | 767:fec01f044474 |
---|---|
1 set -e | |
2 | |
1 cd `dirname $0` | 3 cd `dirname $0` |
4 | |
5 mkdir -p /usr/local/bin | |
2 | 6 |
3 cat >/usr/local/bin/luan <<End | 7 cat >/usr/local/bin/luan <<End |
4 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done | 8 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done |
5 | 9 |
6 java -classpath \$CLASSPATH luan.Luan "\$@" | 10 java -classpath \$CLASSPATH luan.Luan "\$@" |