summaryrefslogtreecommitdiff
path: root/libre/antlr2/runantlr2.sh
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-15 15:36:03 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-15 15:36:03 +0200
commit1cba978702feff9a523baa185796f520602baffe (patch)
tree7c9a85ba36d7896ec67319c218cad52cafce877e /libre/antlr2/runantlr2.sh
parent6ca2416b334e0bed864cc0707ff361fd585829f0 (diff)
parentf7fd1d99d87f11c41cf09f881b1aeb950a3c8e13 (diff)
downloadabslibre-1cba978702feff9a523baa185796f520602baffe.tar.gz
abslibre-1cba978702feff9a523baa185796f520602baffe.tar.bz2
abslibre-1cba978702feff9a523baa185796f520602baffe.zip
Merge branch 'master' of ssh://parabola-git/srv/git/abslibre/abslibre
Diffstat (limited to 'libre/antlr2/runantlr2.sh')
-rw-r--r--libre/antlr2/runantlr2.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/libre/antlr2/runantlr2.sh b/libre/antlr2/runantlr2.sh
index aebc9dfa7..d274e56a9 100644
--- a/libre/antlr2/runantlr2.sh
+++ b/libre/antlr2/runantlr2.sh
@@ -1,5 +1,3 @@
-#!/bin/sh
-echo Running 'java antlr.Tool $*' with /usr/share/java/antlr2.jar appended to the CLASSPATH variable
-export CLASSPATH
-CLASSPATH=$CLASSPATH:/usr/share/java/antlr2.jar
+#!/bin/bash
+export CLASSPATH="/usr/share/java/antlr2.jar${CLASSPATH:+:$CLASSPATH}"
java antlr.Tool "$@"