Mercurial Hosting > luan
comparison scripts/install.sh @ 1823:36dfc31fd607
install fix
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 07 Aug 2024 18:29:58 -0600 |
parents | bda4ec615c5b |
children |
comparison
equal
deleted
inserted
replaced
1822:aeaf2b65c005 | 1823:36dfc31fd607 |
---|---|
8 | 8 |
9 cat >/usr/local/bin/luan <<End | 9 cat >/usr/local/bin/luan <<End |
10 #!/bin/bash | 10 #!/bin/bash |
11 | 11 |
12 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done | 12 for i in `pwd`/jars/* ; do CLASSPATH=\$CLASSPATH:\$i ; done |
13 CLASSPATH=$(echo -n $CLASSPATH | sed 's/^://') | |
13 | 14 |
14 java -classpath \$CLASSPATH luan.Luan "\$@" | 15 java -classpath \$CLASSPATH luan.Luan "\$@" |
15 End | 16 End |
16 | 17 |
17 chmod +x /usr/local/bin/luan | 18 chmod +x /usr/local/bin/luan |