aboutsummaryrefslogtreecommitdiff
path: root/bin/gnunet-ballot
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gnunet-ballot')
-rwxr-xr-xbin/gnunet-ballot12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/gnunet-ballot b/bin/gnunet-ballot
new file mode 100755
index 0000000..e76c423
--- /dev/null
+++ b/bin/gnunet-ballot
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3if [ "%GNJ_INSTALLED" = "true" ];
4then
5 export CLASSPATH="%INSTALL_PATH/share/java/*"
6else
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
11
12java -ea org.gnunet.voting.BallotTool "$@"