summaryrefslogtreecommitdiffstats
path: root/recipes-core/antlr/files/runantlr
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/antlr/files/runantlr')
-rwxr-xr-xrecipes-core/antlr/files/runantlr11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-core/antlr/files/runantlr b/recipes-core/antlr/files/runantlr
new file mode 100755
index 0000000..b924bf4
--- /dev/null
+++ b/recipes-core/antlr/files/runantlr
@@ -0,0 +1,11 @@
1#!/bin/sh
2echo Running 'java antlr.Tool $*' with @JAR_FILE@ appended to the CLASSPATH variable
3
4export CLASSPATH
5CLASSPATH=$CLASSPATH:@JAR_FILE@
6
7if [ ! $JAVA ];then
8 JAVA=java
9fi
10
11$JAVA antlr.Tool $*