diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2018-03-07 11:19:57 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-10 07:11:02 +0700 |
commit | 5af8a437c35330381032509ef52ef1278372528d (patch) | |
tree | d99df25d5cf35877fa5ef32cd4512b690405e951 /misc | |
parent | 5499408f6d2e56b65f3fa60e77e65216a3da7fdc (diff) | |
download | slackbuilds-5af8a437c35330381032509ef52ef1278372528d.tar.gz |
misc/floating-IPS: Minor cleanup.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/floating-IPS/floating-IPS.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/floating-IPS/floating-IPS.SlackBuild b/misc/floating-IPS/floating-IPS.SlackBuild index 221500a3cd..4c808cadde 100644 --- a/misc/floating-IPS/floating-IPS.SlackBuild +++ b/misc/floating-IPS/floating-IPS.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for floating IPS -# Copyright 2016 Hunter Sezen California, USA +# Copyright 2016, 2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=floating-IPS -ZIPNAM=$(echo $PRGNAM | cut -f1 -d"-") +ZIPNAM=${PRGNAM%%-*} VERSION=${VERSION:-1.31} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -41,7 +41,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |