summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/javacc10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/javacc b/bin/javacc
index c82465c5c..979b6f663 100755
--- a/bin/javacc
+++ b/bin/javacc
@@ -1,15 +1,15 @@
#!/bin/sh
MYDIR=`dirname $0`
JAVACC_JAR=`echo ${MYDIR}/../contrib/javacc.jar`
-java -jar $JAVACC_JAR -STATIC=false $1
-echo 'package org.gnunet.monkey.parser;' > PACKAGE
+java -classpath $JAVACC_JAR javacc -STATIC=false $1
+echo 'package org.gnunet.seaspider.parser;' > PACKAGE
for n in *.java
do
cat $n >> PACKAGE
mv PACKAGE $n
- echo 'package org.gnunet.monkey.parser;' > PACKAGE
+ echo 'package org.gnunet.seaspider.parser;' > PACKAGE
done
-mkdir -p org/gnunet/monkey/parser/
-mv *.java org/gnunet/monkey/parser
+mkdir -p org/gnunet/seaspider/parser/
+mv *.java org/gnunet/seaspider/parser/
rm -f PACKAGE