diff options
Diffstat (limited to 'bin/gnunet-resolver')
-rwxr-xr-x | bin/gnunet-resolver | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/gnunet-resolver b/bin/gnunet-resolver index 9333414..7a8365b 100755 --- a/bin/gnunet-resolver +++ b/bin/gnunet-resolver | |||
@@ -1,13 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | DIR=`dirname $0` | ||
4 | |||
5 | if [ "%GNJ_INSTALLED" = "true" ]; | 3 | if [ "%GNJ_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.util.Resolver "$@" | 12 | java -ea org.gnunet.util.Resolver "$@" |
13 | |||