Mercurial Hosting > luan
comparison scripts/install.sh @ 313:1f6d828986b9
replace Http.request.servlet_path with Http.request.path;
rename Http.request.current_url to Http.request.url;
Web_server now loads welcome_file in init() for initialization;
fix cmd_line -e;
fix install for luan args;
git-svn-id: https://luan-java.googlecode.com/svn/trunk@314 21e917c8-12df-6dd8-5cb6-c86387c605b9
| author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
|---|---|
| date | Thu, 25 Dec 2014 06:14:59 +0000 |
| parents | 869d2263de5d |
| children | fec01f044474 |
comparison
equal
deleted
inserted
replaced
| 312:d34be4588556 | 313:1f6d828986b9 |
|---|---|
| 1 cd `dirname $0` | 1 cd `dirname $0` |
| 2 | 2 |
| 3 cat >/usr/local/bin/luan <<End | 3 cat >/usr/local/bin/luan <<End |
| 4 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done | 4 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done |
| 5 | 5 |
| 6 java -classpath \$CLASSPATH luan.Luan \$* | 6 java -classpath \$CLASSPATH luan.Luan "\$@" |
| 7 End | 7 End |
| 8 | 8 |
| 9 chmod +x /usr/local/bin/luan | 9 chmod +x /usr/local/bin/luan |
| 10 | 10 |
| 11 echo "the command 'luan' has been installed" | 11 echo "the command 'luan' has been installed" |
