catgenerator/resources/scripts/catgenerator.sh
2020-09-19 02:14:14 +02:00

10 lines
237 B
Bash
Executable file

#!/bin/bash
# Java check.
javaCheck=`which java`
if [[ "$javaCheck" =~ ^/.* ]]; then
echo "Java requirement............... OK"
java -jar "$(dirname "$0")"/catgenerator.jar $@
else
echo "Java requirement............... MISSING"
fi