diff options
Diffstat (limited to 'packages/antlr/files/runantlr')
-rwxr-xr-x | packages/antlr/files/runantlr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/antlr/files/runantlr b/packages/antlr/files/runantlr new file mode 100755 index 0000000000..b924bf477d --- /dev/null +++ b/packages/antlr/files/runantlr @@ -0,0 +1,11 @@ +#!/bin/sh +echo Running 'java antlr.Tool $*' with @JAR_FILE@ appended to the CLASSPATH variable + +export CLASSPATH +CLASSPATH=$CLASSPATH:@JAR_FILE@ + +if [ ! $JAVA ];then + JAVA=java +fi + +$JAVA antlr.Tool $* |