misc/floating-IPS: Minor cleanup.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2018-03-07 11:19:57 +00:00 committed by Willy Sudiarto Raharjo
parent 5499408f6d
commit 5af8a437c3

View file

@ -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