aboutsummaryrefslogtreecommitdiff
path: root/network/wput/wput.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
commit687c78d5604ce299d5164ffd69de88f2dd10fefc (patch)
tree2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /network/wput/wput.SlackBuild
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/wput/wput.SlackBuild')
-rw-r--r--network/wput/wput.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/wput/wput.SlackBuild b/network/wput/wput.SlackBuild
index 71fe8a0f018b..a3998b87125e 100644
--- a/network/wput/wput.SlackBuild
+++ b/network/wput/wput.SlackBuild
@@ -10,12 +10,10 @@ VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -39,7 +37,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG/usr/{bin,man/man1} $OUTPUT
@@ -63,7 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \
--host=$ARCH-slackware-linux
# Maximum compression for the man file:
-sed -i 's/gzip/gzip -9/' doc/Makefile
+sed -i 's/gzip/gzip -9/' doc/Makefile
# Unable to set --datadir for configure script:
sed -i 's/^datadir *= $(prefix)\/share/datadir = $(prefix)/' Makefile