diff options
author | Florian Dold <florian.dold@gmail.com> | 2012-11-04 13:49:30 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2012-11-04 13:49:30 +0000 |
commit | 82cc3900416608296583c622df76eaa3d725ea8d (patch) | |
tree | d3a02176326d1fba8d828414b7761967556a9d1a /bin | |
parent | 7fe0ecceb164456da41ed31772a9b8d72cd1e0c4 (diff) | |
download | gnunet-java-82cc3900416608296583c622df76eaa3d725ea8d.tar.gz gnunet-java-82cc3900416608296583c622df76eaa3d725ea8d.zip |
fixed dht, various fixes
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gnunet-nse | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/gnunet-nse b/bin/gnunet-nse index e9dec04..6640e01 100755 --- a/bin/gnunet-nse +++ b/bin/gnunet-nse | |||
@@ -1,12 +1,12 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/sh |
2 | |||
3 | DIR=`dirname $0` | ||
4 | 2 | ||
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.nse.NetworkSizeEstimation "$@" | 12 | java -ea org.gnunet.nse.NetworkSizeEstimation "$@" |