summaryrefslogtreecommitdiff
path: root/packages/antlr/files/runantlr
blob: b924bf477d78688ec06c878eba0a1f54d42df3c8 (plain)
1
2
3
4
5
6
7
8
9
10
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 $*