diff options
Diffstat (limited to 'development/jdk12/jdk12.SlackBuild')
-rw-r--r-- | development/jdk12/jdk12.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/development/jdk12/jdk12.SlackBuild b/development/jdk12/jdk12.SlackBuild index e63ce2d459..3e40a06c55 100644 --- a/development/jdk12/jdk12.SlackBuild +++ b/development/jdk12/jdk12.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/sh -eu # Slackware build script for jdk12 -# Copyright 2019 Igor Alexandrov <igor.s.alexandrov@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 @@ -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}} @@ -102,4 +100,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} - |