summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-14 22:12:28 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-14 14:32:31 -0600
commitd03090b75d490e87390f29a4ac5384759d1dc788 (patch)
treeb1a5a2f085c60d3c796cb0bc0b37d16f18df6eca
parent18578fcf23cdc50b2776fd196e2efaf314f67d67 (diff)
downloadslackbuilds-d03090b75d490e87390f29a4ac5384759d1dc788.tar.gz
libraries/tsocks: Script cleanup and fix documentation
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/tsocks/tsocks.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/tsocks/tsocks.SlackBuild b/libraries/tsocks/tsocks.SlackBuild
index 21473cebb4..352e23ce6d 100644
--- a/libraries/tsocks/tsocks.SlackBuild
+++ b/libraries/tsocks/tsocks.SlackBuild
@@ -28,12 +28,10 @@ SRCVERSION=${SRCVERSION:-1.8}
BUILD=${BUILD:-2}
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
@@ -43,7 +41,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="COPYING ChangeLog FAQ tsocks.conf.{simple,complex}.example"
+DOCS="COPYING ChangeLog FAQ tsocks.conf.simple.example tsocks.conf.complex.example"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"