annotate scripts/install.sh @ 639:54f118abc842

Added tag 0.16 for changeset 3ab4f282f0bd
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 07 Mar 2016 16:46:06 -0700
parents 1f6d828986b9
children fec01f044474
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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"