diff options
Diffstat (limited to 'bin/gnunet-ballot')
-rwxr-xr-x | bin/gnunet-ballot | 12 |
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 | |||
3 | if [ "%GNJ_INSTALLED" = "true" ]; | ||
4 | then | ||
5 | export CLASSPATH="%INSTALL_PATH/share/java/*" | ||
6 | else | ||
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 | ||
11 | |||
12 | java -ea org.gnunet.voting.BallotTool "$@" | ||