aboutsummaryrefslogtreecommitdiff
path: root/development/openjdk8/openjdk8.SlackBuild
diff options
context:
space:
mode:
authorStrahil Yordanov <strahilski@yahoo.com>2022-09-17 00:21:53 +0100
committerbedlam <dave@slackbuilds.org>2022-09-17 00:21:53 +0100
commita8a3f4382d422b53c4689ba734c1f3798286723d (patch)
tree74a0ac728d687adcb8167ea30c641cc78c56ba37 /development/openjdk8/openjdk8.SlackBuild
parenta26c0759bcb48884ecb3bf6d61bd649ca15c9576 (diff)
development/openjdk8: Update README. Add zulu-openjdk7 boot option.
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'development/openjdk8/openjdk8.SlackBuild')
-rw-r--r--development/openjdk8/openjdk8.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/development/openjdk8/openjdk8.SlackBuild b/development/openjdk8/openjdk8.SlackBuild
index 85ea3cf2c0ef4..8885330236447 100644
--- a/development/openjdk8/openjdk8.SlackBuild
+++ b/development/openjdk8/openjdk8.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for OpenJDK
-# Copyright 2020 Strahil Yordanov, Sofia, Bulgaria
+# Copyright 2022 Strahil Yordanov, Sofia, Bulgaria
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openjdk8
VERSION=${VERSION:-8u345}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -60,7 +60,8 @@ else
fi
BOOT_JAVA=/usr/lib${LIBDIRSUFFIX}/openjdk7
-[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%?}8
+[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%/*}/zulu-openjdk7
+[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%/*}/openjdk8
[ ! -d ${BOOT_JAVA} ] && { echo "Boot java not found"; exit 1; }
set -e