summaryrefslogtreecommitdiff
path: root/development/jdk11/jdk11.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-30 15:12:54 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-06 08:50:30 +0700
commit7b9d8fadc76e5f5e469fe4b862a8e0e9b8b541a6 (patch)
tree73d49b47f919840f75225292dac2a0ebcf020d24 /development/jdk11/jdk11.SlackBuild
parent552117cde33d45adcd8c6490fec8c4f698a0fe78 (diff)
downloadslackbuilds-7b9d8fadc76e5f5e469fe4b862a8e0e9b8b541a6.tar.gz
development/jdk11: Updated for version 11.0.12.
Move the "set -eu" lower or script stops Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/jdk11/jdk11.SlackBuild')
-rw-r--r--development/jdk11/jdk11.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/jdk11/jdk11.SlackBuild b/development/jdk11/jdk11.SlackBuild
index da5061a7a8..272f86d660 100644
--- a/development/jdk11/jdk11.SlackBuild
+++ b/development/jdk11/jdk11.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jdk11
-VERSION=${VERSION:-11.0.11}
+VERSION=${VERSION:-11.0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,8 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-set -eu
-
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
@@ -48,6 +46,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+set -eu
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}