]> git.pld-linux.org Git - packages/antlr.git/commitdiff
- Making the run script usable
authoradgor <adgor@pld-linux.org>
Thu, 9 Oct 2003 18:38:44 +0000 (18:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    antlr-runscript.patch -> 1.1

antlr-runscript.patch [new file with mode: 0644]

diff --git a/antlr-runscript.patch b/antlr-runscript.patch
new file mode 100644 (file)
index 0000000..62714f7
--- /dev/null
@@ -0,0 +1,18 @@
+--- antlr-20030911/scripts/run-antlr.in~       2003-09-11 15:04:10.000000000 +0200
++++ antlr-20030911/scripts/run-antlr.in        2003-10-09 20:31:07.000000000 +0200
+@@ -1,10 +1,7 @@
+ #!/bin/sh
+-prefix=@prefix@
++
+ ANTLR_JAR=@datadir@/@PACKAGE_NAME@-@PACKAGE_VERSION@/antlr.jar
+-if test "x$CLASSPATH" = x; then
+-      CLASSPATH=$ANTLR_JAR
+-else
+-      CLASSPATH=$ANTLR_JAR:$CLASSPATH
+-fi
+-export CLASSPATH
+-@JAVA@ antlr.Tool "$*"
++
++export CLASSPATH=$CLASSPATH:$ANTLR_JAR
++
++@JAVA@ antlr.Tool $*
This page took 0.087861 seconds and 4 git commands to generate.