diff options
author | Florian Dold <florian.dold@gmail.com> | 2012-11-05 11:15:23 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2012-11-05 11:15:23 +0000 |
commit | 1e47b5d621aeeb00a531a3220ff0a16349c113ab (patch) | |
tree | 0cbfb6a606a18a04a32eff3bb0cea6f8a808e497 /bin | |
parent | c5d1e5a484df7ff663603b3a67f466389d637b02 (diff) | |
download | gnunet-java-1e47b5d621aeeb00a531a3220ff0a16349c113ab.tar.gz gnunet-java-1e47b5d621aeeb00a531a3220ff0a16349c113ab.zip |
added tests
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gnunet-statistics | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/gnunet-statistics b/bin/gnunet-statistics index 1e76a5a..64918ac 100755 --- a/bin/gnunet-statistics +++ b/bin/gnunet-statistics | |||
@@ -1,12 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | DIR=`dirname $0` | 3 | if [ "%GNJ_INSTALLED" = "true" ]; |
4 | |||
5 | if [ "$GNJ_IS_INSTALLED" = "true" ]; | ||
6 | then | 4 | then |
7 | export CLASSPATH="%INSTALL_PATH%/share/java/*" | 5 | export CLASSPATH="%INSTALL_PATH/share/java/*" |
8 | else | 6 | else |
9 | export CLASSPATH="$DIR/../build/:$DIR/../lib/*" | 7 | DIR=`dirname $0` |
8 | # if we are in the development environment use class files directly instead of jar | ||
9 | export CLASSPATH="$DIR/../build-gradle/classes/main/:$DIR/../build-gradle/resources/main/:$DIR/../lib/*" | ||
10 | fi | 10 | fi |
11 | 11 | ||
12 | java -ea org.gnunet.statistics.Statistics "$@" | 12 | java -ea org.gnunet.statistics.Statistics "$@" |