diff options
Diffstat (limited to 'recipes/antlr/files/runantlr')
-rwxr-xr-x | recipes/antlr/files/runantlr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/antlr/files/runantlr b/recipes/antlr/files/runantlr new file mode 100755 index 0000000000..b924bf477d --- /dev/null +++ b/recipes/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 $* |