aboutsummaryrefslogtreecommitdiff
path: root/bin/jtb
diff options
context:
space:
mode:
Diffstat (limited to 'bin/jtb')
-rwxr-xr-xbin/jtb12
1 files changed, 4 insertions, 8 deletions
diff --git a/bin/jtb b/bin/jtb
index 11fa581d2..d2fb2c635 100755
--- a/bin/jtb
+++ b/bin/jtb
@@ -1,11 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2
3MYDIR=`dirname $0` 2MYDIR=`dirname $0`
4JTB_JAR=`echo ${MYDIR}/../contrib/jtb.jar` 3JTB_JAR=`echo ${MYDIR}/../contrib/jtb.jar`
5cd "$@" 4java -jar $JTB_JAR -printer -jd -np org.gnunet.seaspider.parser.nodes -vp org.gnunet.seaspider.parser.visitors -o C.out.jj "$1"
6if [ -d "org/gnunet/seaspider/parser" ]; then 5rm -rf org/gnunet/seaspider/parser/
7 mkdir -p org/gnunet/seaspider/parser 6mkdir -p org/gnunet/seaspider/parser/
8fi 7mv nodes visitors org/gnunet/seaspider/parser/
9cd org/gnunet/seaspider/parser
10java -jar $JTB_JAR -printer -jd -np org.gnunet.seaspider.parser.nodes -vp org.gnunet.seaspider.parser.visitors -o C.out.jj "$@/C.jj"
11