aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkerl6
1 files changed, 6 insertions, 0 deletions
diff --git a/kerl b/kerl
index a827689..fb55a7e 100755
--- a/kerl
+++ b/kerl
@@ -376,6 +376,12 @@ get_javac_version()
echo "$javaout" | cut -d' ' -f2 | cut -d'.' -f2
}
+get_javac_version()
+{
+ javaout=$(javac -version 2>&1)
+ echo "$javaout" | cut -d' ' -f2 | cut -d'.' -f2
+}
+
show_logfile()
{
echo "$1"