aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2012-11-04 13:49:30 +0000
committerFlorian Dold <florian.dold@gmail.com>2012-11-04 13:49:30 +0000
commit82cc3900416608296583c622df76eaa3d725ea8d (patch)
treed3a02176326d1fba8d828414b7761967556a9d1a /bin
parent7fe0ecceb164456da41ed31772a9b8d72cd1e0c4 (diff)
downloadgnunet-java-82cc3900416608296583c622df76eaa3d725ea8d.tar.gz
gnunet-java-82cc3900416608296583c622df76eaa3d725ea8d.zip
fixed dht, various fixes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gnunet-nse8
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
3DIR=`dirname $0`
4 2
5if [ "%GNJ_INSTALLED" = "true" ]; 3if [ "%GNJ_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.nse.NetworkSizeEstimation "$@" 12java -ea org.gnunet.nse.NetworkSizeEstimation "$@"