aboutsummaryrefslogtreecommitdiff
path: root/libraries
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 /libraries
parent18578fcf23cdc50b2776fd196e2efaf314f67d67 (diff)
libraries/tsocks: Script cleanup and fix documentation
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 21473cebb48cc..352e23ce6d6a6 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"