summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-22 17:12:18 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-22 17:12:18 +0000
commit3d660ac05e4e4db1aa12d177016407554480c1e4 (patch)
treeeeffd1789ac451925210c74e36fbe083eb57c99b /bin
parent99306b8d0f5befb3dac6eacd4e1f4df161750e49 (diff)
jccscript
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