Mercurial Hosting > luan
annotate scripts/install.sh @ 354:705e4d6c3dbb
improve formatting of diff.html
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 14 Apr 2015 05:44:06 -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" |