diff options
author | Igor Alexandrov <igor.alexandrov@outlook.com> | 2020-04-24 07:44:46 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-24 07:44:46 +0700 |
commit | 5e7f8fe9547a7c5a60877c84cad848b70eb51e26 (patch) | |
tree | a15e6267d492bdf6b5befbcddedd37a33235e362 /development/jdk12/jdk12.SlackBuild | |
parent | 17b3f172e5213a7c2f21521381511d3d60c3d8cb (diff) |
development/jdk12: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 e63ce2d459fc9..3e40a06c55293 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} - |