Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #67 from tofi86/develop
Browse files Browse the repository at this point in the history
Release version 3.0.3
  • Loading branch information
tofi86 authored Jul 29, 2018
2 parents 8e3b2dc + 6c2794d commit 49e55ed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ChangeLog
---------

### v3.0.3 (2018-07-29)
* Bugfix: changes for the new Java 10 `java -version` formatting (#66)

### v3.0.2 (2018-04-12)
* Bugfix: fix typo in JVMOptions expansion on java exec call (PR #63, Thanks to @michaelweiser for his contribution)
* Added a basic Travis CI build pipeline running a `shellcheck` test for errors and executing the basic testsuite
Expand Down
6 changes: 3 additions & 3 deletions src/universalJavaApplicationStub
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# #
# @author Tobias Fischer #
# @url https://github.com/tofi86/universalJavaApplicationStub #
# @date 2018-04-12 #
# @version 3.0.2 #
# @date 2018-07-29 #
# @version 3.0.3 #
# #
##################################################################################
# #
Expand Down Expand Up @@ -387,7 +387,7 @@ fi
################################################################################
function get_java_version_from_cmd() {
# second sed command strips " and -ea from the version string
echo $("$1" -version 2>&1 | awk '/version/{print $NF}' | sed -E 's/"//g;s/-ea//g')
echo $("$1" -version 2>&1 | awk '/version/{print $3}' | sed -E 's/"//g;s/-ea//g')
}


Expand Down
4 changes: 2 additions & 2 deletions test/java-version-tester.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Tests for the functions used in universalJavaApplicationStub script
# tofi86 @ 2018-03-10
# tofi86 @ 2018-07-29



Expand All @@ -15,7 +15,7 @@
################################################################################
function get_java_version_from_cmd() {
# second sed command strips " and -ea from the version string
echo $("$1" -version 2>&1 | awk '/version/{print $NF}' | sed -E 's/"//g;s/-ea//g')
echo $("$1" -version 2>&1 | awk '/version/{print $3}' | sed -E 's/"//g;s/-ea//g')
}


Expand Down

0 comments on commit 49e55ed

Please sign in to comment.