aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2013-04-14 19:10:22 +0000
committerFlorian Dold <florian.dold@gmail.com>2013-04-14 19:10:22 +0000
commit98f73b2e915489c8262242ea21b4ae9047f35895 (patch)
tree7b59eea5d359fe7aa78046cc9c1429721f6469bb /bin
parentcf224bac38744d9837f52228664d9297e27d3bd6 (diff)
downloadgnunet-java-98f73b2e915489c8262242ea21b4ae9047f35895.tar.gz
gnunet-java-98f73b2e915489c8262242ea21b4ae9047f35895.zip
fixes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gnunet-peerinfo12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/gnunet-peerinfo b/bin/gnunet-peerinfo
new file mode 100755
index 0000000..9d81fb3
--- /dev/null
+++ b/bin/gnunet-peerinfo
@@ -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.peerinfo.PeerInfo "$@"