11 lines
237 B
Bash
11 lines
237 B
Bash
|
#!/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
|