aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2012-11-05 11:15:23 +0000
committerFlorian Dold <florian.dold@gmail.com>2012-11-05 11:15:23 +0000
commit1e47b5d621aeeb00a531a3220ff0a16349c113ab (patch)
tree0cbfb6a606a18a04a32eff3bb0cea6f8a808e497 /bin
parentc5d1e5a484df7ff663603b3a67f466389d637b02 (diff)
downloadgnunet-java-1e47b5d621aeeb00a531a3220ff0a16349c113ab.tar.gz
gnunet-java-1e47b5d621aeeb00a531a3220ff0a16349c113ab.zip
added tests
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gnunet-statistics10
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
3DIR=`dirname $0` 3if [ "%GNJ_INSTALLED" = "true" ];
4
5if [ "$GNJ_IS_INSTALLED" = "true" ];
6then 4then
7 export CLASSPATH="%INSTALL_PATH%/share/java/*" 5 export CLASSPATH="%INSTALL_PATH/share/java/*"
8else 6else
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/*"
10fi 10fi
11 11
12java -ea org.gnunet.statistics.Statistics "$@" 12java -ea org.gnunet.statistics.Statistics "$@"