Mercurial Hosting > luan
annotate scripts/install.sh @ 412:094f37c5e6f9
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 29 Apr 2015 16:28:18 -0600 |
parents | 1f6d828986b9 |
children | fec01f044474 |
rev | line source |
---|---|
306
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
1 cd `dirname $0` |
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
2 |
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
3 cat >/usr/local/bin/luan <<End |
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
4 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done |
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
5 |
313
1f6d828986b9
replace Http.request.servlet_path with Http.request.path;
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
308
diff
changeset
|
6 java -classpath \$CLASSPATH luan.Luan "\$@" |
306
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
7 End |
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
8 |
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
9 chmod +x /usr/local/bin/luan |
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
10 |
7f38793a99ee
add tar-luan.sh
fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
parents:
diff
changeset
|
11 echo "the command 'luan' has been installed" |