aboutsummaryrefslogtreecommitdiff
path: root/development/jdk11/jdk11.SlackBuild
diff options
context:
space:
mode:
authorIgor Alexandrov <igor.alexandrov@outlook.com>2020-04-24 07:43:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-24 07:43:30 +0700
commit17b3f172e5213a7c2f21521381511d3d60c3d8cb (patch)
treea45c503d63702d20cee4ba5eb99766093e7c9fcd /development/jdk11/jdk11.SlackBuild
parent1935c47a0e84db6f880b021d37e6cf9770b726a8 (diff)
development/jdk11: Updated for version 11.0.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/jdk11/jdk11.SlackBuild')
-rw-r--r--development/jdk11/jdk11.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/development/jdk11/jdk11.SlackBuild b/development/jdk11/jdk11.SlackBuild
index bc52b2f43b37a..c310728a71992 100644
--- a/development/jdk11/jdk11.SlackBuild
+++ b/development/jdk11/jdk11.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for jdk11
-# Copyright 2019 2020 Igor Alexandrov <igora.vault@gmail.com>
+# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jdk11
-VERSION=${VERSION:-11.0.6}
+VERSION=${VERSION:-11.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,11 +44,9 @@ if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
echo "$ARCH port is not supported"
- exit -1
+ exit 1
fi
-set -e
-
rm -rf $PKG
mkdir -p $TMP $OUTPUT \
$PKG/{install,etc/profile.d,usr/{lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION}}
@@ -103,4 +101,3 @@ chmod 755 etc/profile.d/*
cat $CWD/slack-desc > install/slack-desc
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-