summarylogtreecommitdiffstats
path: root/analysesi
blob: a232726b7ce6e2dc4afcb7135b86ad186ec44a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

ANALYSE_JAR="/usr/share/analysesi/AnalyseSI-${ANALYSE_VER}.jar"

if [ $# -gt 1 ]
then
	echo "Usage: analysesi [foo.asi]" >&2
	exit 1
fi

if ! which java &> /dev/null
then
	echo "You need a java-runtime-environment to run analyseSI." >&2
	exit 1
fi

exec java -jar "$ANALYSE_JAR" "$@"