agirstatool/resources/scripts/agirstatool.sh

11 lines
236 B
Bash
Raw Permalink Normal View History

2020-01-23 08:56:01 +01:00
#!/bin/bash
# Java check.
javaCheck=`which java`
if [[ "$javaCheck" =~ ^/.* ]]; then
echo "Java requirement............... OK"
java -jar "$(dirname "$0")"/agirstatool.jar $@
else
echo "Java requirement............... MISSING"
fi