diff options
Diffstat (limited to 'development/jdk11/jdk11.SlackBuild')
-rw-r--r-- | development/jdk11/jdk11.SlackBuild | 11 |
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} - |