aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjestin2005-11-22 12:16:57 +0000
committerjestin2005-11-22 12:16:57 +0000
commit66df377b7ba77fd3b354ff14d8f75a4192ef1e7a (patch)
tree933e689fd03ee359a452733c8ecc9f4d4a878362 /tools
parent8e92224db5274f8a028f28f830b52e78ee88fda2 (diff)
downloadivy-java-66df377b7ba77fd3b354ff14d8f75a4192ef1e7a.zip
ivy-java-66df377b7ba77fd3b354ff14d8f75a4192ef1e7a.tar.gz
ivy-java-66df377b7ba77fd3b354ff14d8f75a4192ef1e7a.tar.bz2
ivy-java-66df377b7ba77fd3b354ff14d8f75a4192ef1e7a.tar.xz
hornors the IVYBUS environment variable, if present
Diffstat (limited to 'tools')
-rwxr-xr-xtools/jprobe7
1 files changed, 6 insertions, 1 deletions
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 "$@"