statoolinfos/resources/scripts/statoolinfos.sh

11 lines
237 B
Bash
Raw Permalink Normal View History

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