/hg/icedtea-web: Quoted version of jdk work (by Laurent Bourges)
jvanek at icedtea.classpath.org
jvanek at icedtea.classpath.org
Thu Mar 7 13:02:09 UTC 2019
changeset 2d7fe876a14c in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=2d7fe876a14c
author: Jiri Vanek <jvanek at redhat.com>
date: Thu Mar 07 14:01:56 2019 +0100
Quoted version of jdk work (by Laurent Bourges)
diffstat:
shell-launcher/launchers.sh.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r b60023d6a3a5 -r 2d7fe876a14c shell-launcher/launchers.sh.in
--- a/shell-launcher/launchers.sh.in Wed Mar 06 15:21:43 2019 +0100
+++ b/shell-launcher/launchers.sh.in Thu Mar 07 14:01:56 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