aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-09-06 21:11:41 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-06 22:27:34 +0700
commitdabb7603cce709fb617d4bc410d661ef07b86b00 (patch)
tree9cc0d716c5aa85e5b0c7051877de3e5b4001cadb
parentc35c5b4adc7ebb1c90264391a44353b7636b1787 (diff)
development/zulu-openjdk6: Allow profile script to override jdk.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/zulu-openjdk6/zulu-openjdk6.SlackBuild4
-rw-r--r--development/zulu-openjdk6/zulu-openjdk6.csh4
-rw-r--r--development/zulu-openjdk6/zulu-openjdk6.sh4
3 files changed, 6 insertions, 6 deletions
diff --git a/development/zulu-openjdk6/zulu-openjdk6.SlackBuild b/development/zulu-openjdk6/zulu-openjdk6.SlackBuild
index 668f79d7158bd..40ac21ed2287b 100644
--- a/development/zulu-openjdk6/zulu-openjdk6.SlackBuild
+++ b/development/zulu-openjdk6/zulu-openjdk6.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for zulu-openjdk6
# Copyright (c) 2017-2019, Sébastien Ballet <slacker6896 at gmail.com>
-# Copyright (c) 2022, Andrew Clemons, Tokyo Japan
+# Copyright (c) 2022,2024 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zulu-openjdk6
VERSION=${VERSION:-6.0.119}
ZULUVERSION=${ZULUVERSION:-6.22.0.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/development/zulu-openjdk6/zulu-openjdk6.csh b/development/zulu-openjdk6/zulu-openjdk6.csh
index 8ccd3a2c4ba8a..fae484e0ee18c 100644
--- a/development/zulu-openjdk6/zulu-openjdk6.csh
+++ b/development/zulu-openjdk6/zulu-openjdk6.csh
@@ -1,4 +1,4 @@
#!/bin/csh
setenv JAVA_HOME /usr/lib/zulu-openjdk6
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
-setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin
+setenv MANPATH ${JAVA_HOME}/man:${MANPATH}
+setenv PATH ${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:${PATH}
diff --git a/development/zulu-openjdk6/zulu-openjdk6.sh b/development/zulu-openjdk6/zulu-openjdk6.sh
index ba234210f2da5..21bcfd092fb35 100644
--- a/development/zulu-openjdk6/zulu-openjdk6.sh
+++ b/development/zulu-openjdk6/zulu-openjdk6.sh
@@ -1,4 +1,4 @@
#!/bin/sh
export JAVA_HOME=/usr/lib/zulu-openjdk6
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
-export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+export MANPATH="${JAVA_HOME}/man:${MANPATH}"
+export PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:${PATH}"