2
1
mirror of https://github.com/kdabir/has.git synced 2024-11-10 21:26:50 +01:00
has/lib/scala/scala.sh
2014-03-05 03:46:26 +05:30

11 lines
168 B
Bash

scala -version > /dev/null 2>&1
# this guy has its own idea of exit codes, fix it!
if [ $? -eq 1 ]; then
STATUS=0
else
STATUS=1
fi
_dq_report 'scala' $STATUS