calgen/resources/scripts/calgen.sh

11 lines
232 B
Bash
Raw Normal View History

2021-12-03 18:05:27 +01:00
#!/bin/bash
# Java check.
javaCheck=`which java`
if [[ "$javaCheck" =~ ^/.* ]]; then
#echo "Java requirement............... OK"
java -jar "$(dirname "$0")"/calgen.jar $@
else
echo "Java requirement............... MISSING"
fi