/hg/release/icedtea-web-1.7: Quoted version of jdk work (by Laur...

jvanek at icedtea.classpath.org jvanek at icedtea.classpath.org
Thu Mar 7 13:02:11 UTC 2019


changeset b2c7ba07a660 in /hg/release/icedtea-web-1.7
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=b2c7ba07a660
author: Jiri Vanek <jvanek at redhat.com>
date: Thu Mar 07 14:01:54 2019 +0100

	Quoted version of jdk work (by Laurent Bourges)


diffstat:

 launcher/launchers.sh.in |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 5ef482e3aa78 -r b2c7ba07a660 launcher/launchers.sh.in
--- a/launcher/launchers.sh.in	Tue Mar 05 14:22:47 2019 +0100
+++ b/launcher/launchers.sh.in	Thu Mar 07 14:01:54 2019 +0100
@@ -98,10 +98,10 @@
 MODULAR_JDK="NO"
 fullversion=`${JAVA} -version 2>&1`
 version=`echo $fullversion | head -n 1 | cut -d'-' -f1 | cut -d'"' -f2 | cut -d'.' -f1`
-if [ $version -eq "1" ]; then
+if [ "$version" -eq "1" ]; then
   version=`echo $fullversion | head -n 1 | cut -d'-' -f1 | cut -d'"' -f2 | cut -d'.' -f2`
 fi
-if [ $version -ge "9" ]; then
+if [ "$version" -ge "9" ]; then
   MODULAR_JDK="YES"
 fi
 


More information about the distro-pkg-dev mailing list