Mercurial Hosting > luan
comparison scripts/install.sh @ 308:869d2263de5d
move scripts
git-svn-id: https://luan-java.googlecode.com/svn/trunk@309 21e917c8-12df-6dd8-5cb6-c86387c605b9
| author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
|---|---|
| date | Tue, 23 Dec 2014 05:48:49 +0000 |
| parents | dist/scripts/install.sh@7f38793a99ee |
| children | 1f6d828986b9 |
comparison
equal
deleted
inserted
replaced
| 307:4bf49f0a46b3 | 308:869d2263de5d |
|---|---|
| 1 cd `dirname $0` | |
| 2 | |
| 3 cat >/usr/local/bin/luan <<End | |
| 4 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done | |
| 5 | |
| 6 java -classpath \$CLASSPATH luan.Luan \$* | |
| 7 End | |
| 8 | |
| 9 chmod +x /usr/local/bin/luan | |
| 10 | |
| 11 echo "the command 'luan' has been installed" |
