mirror of
https://github.com/kdabir/has.git
synced 2024-09-18 17:01:29 +02:00
6 lines
145 B
Bash
6 lines
145 B
Bash
output=$(java -version 2>&1)
|
|
status=$?
|
|
version=$(echo "$output" | egrep -o "$SIMPLE_VERSIONING" | head -1)
|
|
|
|
_dq_report 'java' $status "$version"
|