From 66df377b7ba77fd3b354ff14d8f75a4192ef1e7a Mon Sep 17 00:00:00 2001 From: jestin Date: Tue, 22 Nov 2005 12:16:57 +0000 Subject: hornors the IVYBUS environment variable, if present --- tools/jprobe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tools/jprobe') diff --git a/tools/jprobe b/tools/jprobe index 1d96420..c85a29e 100755 --- a/tools/jprobe +++ b/tools/jprobe @@ -8,5 +8,10 @@ jar=/usr/share/java/ivy.jar re=/usr/share/java/regexp.jar go=/usr/share/java/gnu.getopt.jar #jar=../lib/ivy-java-1.2.6.jar +bus= -/usr/bin/java -classpath ${jar}:${re}:${go} fr.dgac.ivy.Probe "$@" +if [ "$IVYBUS" ]; then + bus="-DIVYBUS=${IVYBUS}" +fi + +java -classpath ${jar}:${re}:${go} $bus fr.dgac.ivy.tools.Probe "$@" -- cgit v1.1