11 lines
236 B
Bash
Executable File
11 lines
236 B
Bash
Executable File
#!/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
|